Acs Posted October 10, 2008 Share Posted October 10, 2008 Hey! I am trying to run the ab prog from apache but I am getting this error: apr_pollset_create failed: Invalid argument (22) This is what I calling: C:\Program Files\Apache Group\Apache2\bin>ab -n100 -c200 http://localhost/index.php The file does exist and I really don't know what I am doing wrong here. I am on winXp pro running apache 2.0.63 Thanks PS: I have tested this on my home pc and it works fine, but I believe at home I am running 2.2.X version Quote Link to comment https://forums.phpfreaks.com/topic/127841-unable-to-load-ab/ Share on other sites More sharing options...
corbin Posted October 12, 2008 Share Posted October 12, 2008 -n requests Number of requests to perform -c concurrency Number of multiple requests to make The way I understand it, c is how many requests are being made at a time, so errrr, why would c ever be > n? Quote Link to comment https://forums.phpfreaks.com/topic/127841-unable-to-load-ab/#findComment-663158 Share on other sites More sharing options...
Acs Posted October 12, 2008 Author Share Posted October 12, 2008 Opsss must have changed the values and didn't realize it! Thanks Quote Link to comment https://forums.phpfreaks.com/topic/127841-unable-to-load-ab/#findComment-663281 Share on other sites More sharing options...
corbin Posted October 12, 2008 Share Posted October 12, 2008 No problem ;p. Quote Link to comment https://forums.phpfreaks.com/topic/127841-unable-to-load-ab/#findComment-663416 Share on other sites More sharing options...
Acs Posted October 12, 2008 Author Share Posted October 12, 2008 Hello again! I have tried this: ab -n300 -c100 http://localhost/index.php And I am still getting the same error. I think it's because I am on apache 2.0.63, because on apache 2.2.9, which is on my other pc, I don't get any errors Quote Link to comment https://forums.phpfreaks.com/topic/127841-unable-to-load-ab/#findComment-663571 Share on other sites More sharing options...
corbin Posted October 13, 2008 Share Posted October 13, 2008 try something simple like "ab -n10 http://localhost/index.php" and see if it works. Quote Link to comment https://forums.phpfreaks.com/topic/127841-unable-to-load-ab/#findComment-663662 Share on other sites More sharing options...
Acs Posted October 13, 2008 Author Share Posted October 13, 2008 Indeed it worked. Is this because this is an older version of ab.exe? Quote Link to comment https://forums.phpfreaks.com/topic/127841-unable-to-load-ab/#findComment-663747 Share on other sites More sharing options...
corbin Posted October 13, 2008 Share Posted October 13, 2008 I have no idea.... -n300 -c100 should theoretically work.... Try different numbers or something I guess. Quote Link to comment https://forums.phpfreaks.com/topic/127841-unable-to-load-ab/#findComment-663873 Share on other sites More sharing options...
Acs Posted October 13, 2008 Author Share Posted October 13, 2008 Ok, thanks for the help. I'll probably just upgrade to 2.2.9 Quote Link to comment https://forums.phpfreaks.com/topic/127841-unable-to-load-ab/#findComment-663908 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.