Reputation
218
Top tag
Next privilege 250 Rep.
View close votes
Badges
2 7
Newest
 Yearling
Impact
~33k people reached

Nov
9
awarded  Nice Answer
Nov
9
awarded  Yearling
Oct
22
revised Is it possible to generate RSA key without pass phrase?
corrected flag name from 3des to -des3; formatting and wording improvements; link to ref'ed answer
Oct
22
revised Is it possible to generate RSA key without pass phrase?
text structure improvements, added links to ref'ed answers
Oct
22
suggested approved edit on Is it possible to generate RSA key without pass phrase?
Sep
6
awarded  Caucus
Feb
3
awarded  Necromancer
Jan
31
comment Nginx + PHP-FPM Timeouts, almost zero load consumption?
@AD7six I've read things up again and you're right. FPM workers are configured based on free mem, nginx workers are configured according to CPU core count (like here). Must've mixed things up.
Jan
30
comment Php5-fpm Crash if much visitors
And anyway, memory is usually not the limiting factor for max. children, rather CPU cores. Max. child count should be set to approx. CPU core count, plus a few to compensate for IO waits etc.. Nothing goes faster beyond 100% CPU load, it's just a difference between waiting in queue and slow parallel serving with switching.
Jan
30
comment Php5-fpm Crash if much visitors
Agree that the PHP-FPM ondemand process manager is the better choice in most cases. But its max. number of child processes cannot be calculated like this: memory_limit is the absolute max that a PHP process may consume before forcefully terminated. On average, they consume much less.
Jan
30
comment Php5-fpm Crash if much visitors
I agree with the recommendation to set request_terminate_timeout, but your reason is not correct ;) This directive is to kill a running process after a certain amount of CPU time, as a safeguard when PHP's max_execution_time could not (which should have a bit smaller value to get the first chance) [source]. "To avoid memory shortage due to idle processes", the directive to use is pm.process_idle_timeout = 40 [see this answer].
Jan
30
comment Nginx + PHP-FPM Timeouts, almost zero load consumption?
Hmm, not sure. The php5-fpm.log message you show above does not indicate server overload, just a fifth parallel request coming in. Since 5 is the max. number of child processes, other requests will then go into a backlog. From this, the OP's situation would result if queue items stay for 3 min in that backlog and time out. Which means, massive server overload. Which is not cured by more PHP-FPM child processes. As a rule of thumb, these should be about the same number as CPU cores on the server.
Jan
30
revised FastCGI: comm with server … aborted: idle timeout (30 sec)
bold-in-code formatting error fix; language; added docs link
Jan
30
comment Nginx + php-fpm “504 Gateway Time-out” error with almost zero load (on a test-server)
This is a pool-level directive, you will get an error message when trying to put it into the php-fpm.conf's [global] section. It works there only if you also have your pool configs in there. Also: request_terminate_timeout docs.
Jan
30
answered FastCGI: comm with server … aborted: idle timeout (30 sec)
Jan
30
suggested approved edit on FastCGI: comm with server … aborted: idle timeout (30 sec)
Dec
30
awarded  Critic
Dec
30
revised How do diff over ssh?
multiple small improvements (language, formatting, added link)
Dec
30
suggested approved edit on How do diff over ssh?
Dec
29
answered Ubuntu 14.04 System Logging