Hello!
On Thu, Aug 02, 2018 at 01:46:35PM +, Friscia, Michael wrote:
> I’m trying to figure out why my sub_filter is not working on a
> JSON file. I do have application/json and text/json listed in
> the sub_filter_types but the simple string replace is not
> happening. It causes me to thi
Yeah, the sub_filter_types is fine, if I set it correctly it does not work. So
I tested by using
Sub_filter_types *;
This works fine which makes me wonder what Nginx is seeing as the mime type of
this json file. I'll dig through the upstream variables again but I don't
recall seeing it unless it
On 02.08.2018 16:46, Friscia, Michael wrote:
I’m trying to figure out why my sub_filter is not working on a JSON
file. I do have application/json and text/json listed in the
sub_filter_types but the simple string replace is not happening. It
causes me to think that for whatever reason, Nginx
I’m trying to figure out why my sub_filter is not working on a JSON file. I do
have application/json and text/json listed in the sub_filter_types but the
simple string replace is not happening. It causes me to think that for whatever
reason, Nginx is not seeing this file as JSON. Is there a way
Anoop,
There are two guesses: either mmap allocations limit is hit or memory
is way too fragmented.
Could you please track amount of mapped regions for a worker with pmap
and amount of 16k areas in Normal zones (it is the third number)?
You can also set vm.max_map_count to a higher number (l
Hi Igor,
The error happens randomly
2018/08/02 06:52:42 [emerg] 874514#874514: posix_memalign(16, 16384) failed
(12: Cannot allocate memory)
2018/08/02 09:42:53 [emerg] 872996#872996: posix_memalign(16, 16384) failed
(12: Cannot allocate memory)
2018/08/02 10:16:14 [emerg] 877611#877611: posix_me
Anoop,
I doubt this will be the solution, but may we have a look at
/proc/buddyinfo and /proc/slabinfo the moment when nginx can't allocate
memory?
On 02.08.2018 08:15, Anoop Alias wrote:
Hi Maxim,
I enabled debug and the memalign call is happening on nginx reloads
and the ENOMEM happen so