Apache server cannot allocate memory for new process -
i have apache server 32 gb of ram. when start server , execute top see resources show me cpu @ 95 percent. doesn't normal behaviour , after few minutes raises:
apache cannot allocate memory fork unable fork new process
i don't know how solve problem. tips?
i had same problem fix there 2 options:
1- move micro instances small , change solved problem (micro instances on amazon tend have large cpu steal time)
2- tune mysql database server configuration , apache configuration use lot less memory.
tuning guide low memory situation such one: http://www.narga.net/optimizing-apachephpmysql-low-memory-server/ (but don't use suggestion of myisam tables - horrible...)
this 2 options make problem much less happening .. still looking better solution close process done , kill ones hang in there .
Comments
Post a Comment