我的服务器4G内存,双核,然后PHP的MEMORY_LIMIT=512M
每秒连接在15个左右,大概每分钟会出现5个左右Out of memory tried to allocate xxxx bytes的提示,很是郁闷网上说一是PHP的版本问题,查看了,我的PHP版本已经是5.2.9.1,不是那个出BUG的版本
还有就是MEMORY_LIMIT设置,之前是128,现在改成512M,还是出问题
请问还有什么终极解决方案吗?谢谢!
每秒连接在15个左右,大概每分钟会出现5个左右Out of memory tried to allocate xxxx bytes的提示,很是郁闷网上说一是PHP的版本问题,查看了,我的PHP版本已经是5.2.9.1,不是那个出BUG的版本
还有就是MEMORY_LIMIT设置,之前是128,现在改成512M,还是出问题
请问还有什么终极解决方案吗?谢谢!
[code=INIFile]
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;max_execution_time = 60 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 32M ; Maximum amount of memory a script may consume (16MB)[/code]