Gray Adams

United States

Age: 20

I am a 15 year old developer and designer.

Feb
21
revised Apache2 and nginx randomly consuming all memory, every week or so
deleted 7567 characters in body
Feb
21
comment Apache2 and nginx randomly consuming all memory, every week or so
You say this is too broad, but I think I've given more technical details than 90% of people do. I've given log files, config settings, and what I have done to troubleshoot. Mod_status does indeed reveal well over 10 files (ranges from 50-200) that are trying to be read when it goes under.
Feb
19
awarded Nice Question
Feb
15
comment Apache2 and nginx randomly consuming all memory, every week or so
@Tim When I visit a site, the memory used increases by about 100MB every time. Is this normal behavior? It doesn't fall back down.
Feb
15
comment Apache2 and nginx randomly consuming all memory, every week or so
@Tim It can't be. The sites collectively get 700-1000 unique visitors per day. That's not enough to consume 2GB of RAM and 4GB of swap. It went down once again today. Whatever it is, it has become more frequent. I'm running out of ideas here.
Feb
14
comment Apache2 and nginx randomly consuming all memory, every week or so
@Tim I believe I have. Did I miss something?
Feb
14
comment Apache2 and nginx randomly consuming all memory, every week or so
It went down again even after blocking access to the file. Any ideas?
Feb
14
revised Apache2 and nginx randomly consuming all memory, every week or so
added 7093 characters in body
Feb
14
comment Apache2 and nginx randomly consuming all memory, every week or so
@Tom There is a radio player on the site which requires the client to check the database every 10 seconds for song information, and every 60 for show information. But I have a close function at the end of every script.
Feb
13
comment Apache2 and nginx randomly consuming all memory, every week or so
So I just went through the logs for one of the sites, and I found 906 hits to that file in just one day, which I imagine is very irregular. Most of them were within just seconds of each other. I will block access to the file, as I don't need Jetpack. For now, I am going to mark this as the answer. If it happens again, it may be something else.
Feb
12
revised Apache2 and nginx randomly consuming all memory, every week or so
added 448 characters in body
Feb
12
revised Apache2 and nginx randomly consuming all memory, every week or so
added 38 characters in body
Feb
12
awarded Editor
Feb
12
comment Apache2 and nginx randomly consuming all memory, every week or so
@Tim I have updated the question with the command I use to clear the memory. I only restart Apache and run that command to fix the problem. I'm checking the error logs now. As for top, I will have to wait until it happens again.
Feb
12
revised Apache2 and nginx randomly consuming all memory, every week or so
added 38 characters in body
Feb
12
awarded Autobiographer
Feb
12
asked Apache2 and nginx randomly consuming all memory, every week or so
Dec
21
awarded Notable Question
Oct
22
awarded Popular Question
Nov
24
awarded Famous Question
1 2 3 4 5