First connections of a siege are SLOW

First connections of a siege are SLOW

Postby bhenry360 on Tue Aug 09, 2011 6:15 pm

Running Zend Server on an i5 LPAR with a Magento application (e-commerce site).

I can run a siege -c 30 http://domain.com/ and the first 30 connections will take forever to get their responses. 7-25 seconds each. Then all subsequent requests will get less than a second. (0.08 - 0.14 seconds each actually.) I'm not sure why the server takes so long to begin serving out responses.

Also, just lately now, if I run a siege for a very long time, eventually I'll start getting 'socket: connection timed out' messages. I have tweaked httpd.conf, fastcgi.conf and zend server component directives too, taking care to not set anything too aggressive. I'm shocked to see this bad performance.

We were having a terrible time with mysql on the i5 too and actually had to move it to a LPAR running RedHat. MySQL screams there with only 13 queries out of 100,000+ taking longer than two seconds. If I could just get the same performance out of Zend Server in PASE.

How can I check to see what IBM and Zend PTFs have been applied to the i5? On my Zend Server for the IBM I setup menu, I see nothing under Display Zend Server PTF status.
bhenry360
 
Posts: 8
Joined: Thu Jun 16, 2011 9:23 am

Re: First connections of a siege are SLOW

Postby bhenry360 on Tue Aug 09, 2011 6:58 pm

Well, the IBM docs have lead me where to check for the PTF fixes. I did not realized my user had the rights to run GO LICPGM
Unfortunately, I do not see any of the fixes applied I was looking for. I've seen I need to apply SI43224 and SI43243 allong with a few others. When I look at the list of applied PTFs I do not see any that start with an SI.

http://publib.boulder.ibm.com/infocente ... /index.jsp Installing Fixes > Verifying fix installation
bhenry360
 
Posts: 8
Joined: Thu Jun 16, 2011 9:23 am

Re: First connections of a siege are SLOW

Postby aseiden on Thu Aug 11, 2011 6:07 am

In fastcgi.conf you could set PHP_FCGI_CHILDREN=30

since you want 30 connections immediately.

Try it and let us know.

Alan
aseiden
 
Posts: 695
Joined: Thu Apr 09, 2009 5:45 pm

Re: First connections of a siege are SLOW

Postby zend_i5 on Sun Aug 28, 2011 12:54 pm

Did you install Zend Server community or professional license?
zend_i5
 
Posts: 140
Joined: Mon Mar 23, 2009 5:22 pm

Re: First connections of a siege are SLOW

Postby bhenry360 on Fri Sep 09, 2011 4:02 pm

It is the professional license. I had PHP_FCGI_CHILDREN set to 50, so the number of initial connections was not an issue.
bhenry360
 
Posts: 8
Joined: Thu Jun 16, 2011 9:23 am


Return to Zend Server for IBM i

Who is online

Users browsing this forum: No registered users and 1 guest