logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: PHP Fatal Error + Apache Benchmarking
Author
elavarasan



Joined: 26 Sep 2011
Posts: 53

PostPosted: Sat 08 Oct '11 11:41    Post subject: PHP Fatal Error + Apache Benchmarking Reply with quote

Any one can help me

When i try to load a apache benchmarking then i'm getting PHP Fatal Error : Out of memory (allocated 262144) (tried to allocate 393216 bytes)

ab -c 200 -n 200 http://IPADDRESS/index.php

I have increased Memory_limit to 500M eventhough it's throwing PHP Fatal Error.

Where to increase and i'm using Apache as a handler not the Cgi, our application doesn't support Cgi

I need it very urgently

Thanks,
Back to top
Kanashii



Joined: 17 Jul 2006
Posts: 155
Location: Porando

PostPosted: Sun 09 Oct '11 0:30    Post subject: Reply with quote

Increase

php.ini

memory_limit = 40MB
; or higher

More:

http:// tek-tips.com/viewthread.cfm?qid=1463596&page=5
Back to top
elavarasan



Joined: 26 Sep 2011
Posts: 53

PostPosted: Sun 09 Oct '11 8:17    Post subject: Reply with quote

I have increased upto 3000M but still i'm getting same errors and here is the :

Apache Error Log :

Cannot initialize zend_mm storage [win32]

PHP Log Error :

PHP Fatal error: Out of memory (allocated 262144) (tried to allocate 393216 bytes)

When i doing apachebenching more than 100 concurrent users with 100 concurrent transactions.

I'm using Windows server 2008 r2 and Apache 2.2.17 with as a handler and PHP 5.2.17 as Safe Thread.

our application will not support with Cgi with non-thread-safe.

Please advise

Thanks,

[/b]
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7306
Location: Germany, Next to Hamburg

PostPosted: Mon 10 Oct '11 10:18    Post subject: Reply with quote

Please stick zo one topic!!

http://www.apachelounge.com/viewtopic.php?t=4308
Back to top


Reply to topic   Topic: PHP Fatal Error + Apache Benchmarking View previous topic :: View next topic
Post new topic   Forum Index -> Other Software