The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: 1 [2]   Go Down

Author Topic: 2.3.10  (Read 14254 times)

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 583
Re: 2.3.10
« Reply #15 on: December 21, 2010, 05:42:31 PM »

I made some performance tests. Best setting for PHP stuff (for me!)

Changed
FcgidMaxProcesses from 8 to 100
FcgidProcessLifeTime from 240 to 120
FcgidMaxRequestsPerProcess 500 to 10000

added
FcgidFixPathinfo 1

That change increased the req/s from 197 to 589
Time for the 10k requests went down from 53 secs to 16

Tested on XP SP3 (32bit) Intel Core Duo E7300 @ 2.66GHz 1.93GB RAM

Apache changed settings from default
ThreadsPerChild 500
access log turned off
ab test
ab -c 450 -n 10000 http://127.0.0.1/php/observer.php


Before I made those changes I noticed that the CPU was often idle even due high server load.

The html test variant are 761 req/s time 13 secs


------ edit -------

The info.lua script
took 27 secs and 366 req/s
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 847
Re: 2.3.10
« Reply #16 on: December 21, 2010, 05:57:16 PM »

The automatic generated config does that already only existing configs need the update :P

Yes, which I use cause it's already set up the way I want it. Drop on drive and start it up.
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 847
Re: 2.3.10
« Reply #17 on: December 22, 2010, 10:37:29 AM »

send me a zip with files and changes you think should change from what went in 2.3.10. I do see the change in threads per child to 150, blew up that one test for me till I gave it time to cool down from the previous test, I don't like that. I see it was changed from 250 to "match Unix" :-X  back 3 years ago yesterday. It's 150 in 2.2 also.
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 583
Re: 2.3.10
« Reply #18 on: December 22, 2010, 03:55:34 PM »

You mean r606133

I've changed only the extra/httpd-fcgid.conf, increased the ThreadsPerChild and disabled the access to serv faster. Well that for an intranet. on the www I hjave turned on logs.  ;)

Those are only default values. it is idiotic not to change the values for your needs and not to purge the config files. Mean remove not needed comments. Create your own include files.
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 583
Re: 2.3.10
« Reply #19 on: December 24, 2010, 12:21:29 PM »

What I also don't like is http://svn.apache.org/viewvc?rev=1052419&view=rev
Symlinks don't exist in Windows at all.
Logged

Sob

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 72
Re: 2.3.10
« Reply #20 on: December 24, 2010, 02:21:10 PM »

Symlinks do exist, at least in Win7 (maybe in Vista too, but I'm not sure, I skipped that OS). Check mklink.exe. And my quick test says they're supported by Apache. Enabling or disabling FollowSymLinks makes difference.
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 847
Re: 2.3.10
« Reply #21 on: December 24, 2010, 05:42:55 PM »

The official word on the subject
https://issues.apache.org/bugzilla/show_bug.cgi?id=50395

Personally, I think the default ought to be None, but that's just me.
Logged

Sob

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 72
Re: 2.3.10
« Reply #22 on: December 24, 2010, 10:18:57 PM »

shortcut (.lnk file) != symlink
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 847
Re: 2.3.10
« Reply #23 on: December 25, 2010, 12:35:40 AM »

True, but Bill's first sentence is "FWIW, Junctions are already supported as symlinks." ... whatever Junctions are
Logged

Sob

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 72
Re: 2.3.10
« Reply #24 on: December 25, 2010, 06:03:06 PM »

From today's point of view junctions are strange kind of limited links for directories. Exception is ability to mount otherwise unmounted filesystem into empty directory. AFAIK it's not possible using soft links.
For current httpd there's no difference between them. Link is when APR reports it to be APR_FINFO_LINK. And it does that when Windows file attributes contain FILE_ATTRIBUTE_REPARSE_POINT (generally something that points to something else) and it's set for both junctions and soft links.
Logged
Pages: 1 [2]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13