[Xitami] Xitami using over 600 megs of ram??!
Johannes Prost
xitami@lists.xitami.org
Sat, 09 Apr 2005 14:24:16 -0600
Hi Gene,
see comments below.
Am 9 Apr 2005 um 12:55 hat Gene Angel geschrieben:
> Ok I've run into something else. I did a performance tests and Xitami
> defiantly performs better under a "very heavy" hit load. Basicly I
> loaded Xitami along side Apache and moved our forums to the IP Xitami
> was using. The users said they did noticed a big performance boost with
> the forums running under Xitami. We're a voulenteer non-profit who
> hosts artists for free. So with no funding source except our bleeding
> pocket we need to make do with what we have. Based on the performance I
> decided to move the bulk of our Apache virtual hosts over to Xitami
> (about 2,000 virtual hosts moved off of apache). Now Apache always
> seemed to take up about 90megs of ram (using dynamic virtual hosting).
> Xitami (on our P4 2400 with 1 gig of ram) took like 5 min to load at
> which point it ate about "600megs!!" of ram and then crashed the server.
>
> My question, is there any way Xitami will handle this kind of setup or
> is it too big or am I doing something wrong?
>
Don't know that, I have just 3 virtual hosts
> I am running the Windows console version under Windows 2003 Server.
> My defaults.cfg loads virtualhosts like:
>
> www.xxxx.xxx.org=usr/xxxx.cfg (x2000 of these)
>
I left standard like this
www.xxxxxx.org ="xxxxxx.cfg"
Do you really need a separate directory to organize ?
> xxxx.cfg has:
> [Server]
> webpages=c:\webpages\artwork\xxxx
> cgi-bin=c:\server\apache2\cgi-bin
> log-dir=./usr-logs
>
I am not using cgi, so I can't comment on that, but for the rest, I used here the standard
as well like
[Server]
Default1 = "xxxxx.htm"
Default2 = "xxxxx.htm"
Dir-script = ""
Keep-alive = "1"
Log-dir = "./logs/xxxxxxx"
Webpages = "./webpages/xxxxxx"
The webpage directory is set to a relative path. I don't know if that will fix it, but
do you have the chance to try this with say 1000 hosts ?
I know it will be a lot of work, but ....
>
> I'm also worried Xitami eating that much memory will lose it's
> performance gain that it has when handling just a few vhosts. Can
> anyone help fill me in better on doing this better (if there is a way)?
>
> Thanks Gene
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
Johannes