2 Jun 2007 19:51
1 Jun 2007 02:54
Re: tunning server for just 1 page
Norberto Meijome <freebsd <at> meijome.net>
2007-06-01 00:54:30 GMT
2007-06-01 00:54:30 GMT
On Thu, 31 May 2007 04:55:09 -0400
Thomas Guyot-Sionnest <dermoth <at> aei.ca> wrote:
> > Thanks Thomas,
> > is this true also of apache in mpm mode? ( i know, going a bit OT )
>
> I guess you're talking about the worker MPM (By default Apache 2 use the
> prefork MPM on UNIX, and Apache 1.3 used a prefork model too).
doh! right, worker MPM - sorry.
>
> Basically each child use multiple threads to process requests in
> parallel. Since threads have much less overhead that standalone
> processes this is much more efficient, but IMHO not as much as using
> Lighty.
thanks
> Also using threads for things like PHP can cause problems if
> some of the libraries are not thread-safe, though I'm not sure what's
> the current status on this.
yeah....thread-safe status for everything built into php is something i havent found yet.
thanks for your time :)
B
_________________________
{Beto|Norberto|Numard} Meijome
"We must openly accept all ideologies and systems as means of solving humanity's problems. One country,
one nation, one ideology, one system is not sufficient."
Dalai Lama.
I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you
go blind. Writing them is worse. You have been Warned.
3 Jun 2007 09:23
3 Jun 2007 09:24
Re: upgrading to 1.4.15 ?
Just Marc <marc <at> corky.net>
2007-06-03 07:24:49 GMT
2007-06-03 07:24:49 GMT
Since you're too happy and obviously you don't know why upgrading to .15 is good for *you*, don't. Skiiiks wrote: > Hi: > > I've been using 1.4.13 and i'm scary to use 1.4.15... i mean, i'm too > happy with 13... > is 15 stable ? > > is there any benchmarking between 13, 14 and 15 ? > > thank you ;)
3 Jun 2007 11:51
Re: tunning server for just 1 page
Skiiiks <skiiiks <at> gmail.com>
2007-06-03 09:51:21 GMT
2007-06-03 09:51:21 GMT
Just Marc wrote:
I don't remember the original poster even telling us how many requests per second he wants to serve of this single, small file. Maybe all of your suggestions have been in vain because it's 20 reqs/s. :)Now, it's 1830 reqs/s ... i think i'm reaching the network limit indeed :)
Marc
3 Jun 2007 12:08
weird behaviour of accesslog / cronolog
Skiiiks <skiiiks <at> gmail.com>
2007-06-03 10:08:49 GMT
2007-06-03 10:08:49 GMT
strange !!! if i put in lighttpd.conf a single log.txt, it works, it saves the log of visits correctly... but if i put cronolog it does not work at all, it does not create directories (it has permissions enough) and nothing... i do not know what i've might changed, but it worked for me and now it doesnt... cronolog is in that path and aparently it's running in ps list: root 3532 0.0 0.1 1868 520 ? S 04:57 0:00 /usr/local/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf root 3533 0.0 0.0 1468 296 ? S 04:57 0:00 \_ /usr/bin/cronolog --period 1 minutes /logs/%Y/%m/%d/%H%M.log root 3534 0.0 0.0 2028 368 ? S 04:57 0:00 \_ /usr/local/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf root 3535 0.0 0.0 2028 368 ? S 04:57 0:00 \_ /usr/local/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf and why there is 2 child process ? And now, the weird THING !!!!! I've created a page that redirects every 10 seconds and let working all night long... In the /logs/ directory I have this files: drwxr-xr-x 2 root root 4096 2007-06-03 10:08 . drwxr-xr-x 5 root root 4096 2007-06-03 07:34 .. -rw-r--r-- 1 root root 4123 2007-06-03 07:34 0734.log -rw-r--r-- 1 root root 4123 2007-06-03 10:08 1008.log So, it has just saved at 07:34 and 10:08 .... WHY ???? hahahahaha, i can't understand So, it works, but when he wants ! the config is: accesslog.filename = "|/usr/bin/cronolog --period '1 minutes' /logs/%Y/%m/%d/%H%M.log"
3 Jun 2007 12:05
Re: tunning server for just 1 page
Just Marc <marc <at> corky.net>
2007-06-03 10:05:37 GMT
2007-06-03 10:05:37 GMT
Do share with us what this file is, I'm sure many are curious :) Skiiiks wrote: > Just Marc wrote: >> I don't remember the original poster even telling us how many >> requests per second he wants to serve of this single, small file. >> Maybe all of your suggestions have been in vain because it's 20 >> reqs/s. :) >> >> Marc >> >> >> > Now, it's 1830 reqs/s ... i think i'm reaching the network limit indeed :)
3 Jun 2007 12:22
Re: tunning server for just 1 page
Skiiiks <skiiiks <at> gmail.com>
2007-06-03 10:22:17 GMT
2007-06-03 10:22:17 GMT
Hehehehe, it's a simple single text file of about 14K I can't share the content, because it's a private project for now... I will (i hope) in summer... But it's a simple file... just text, simple text :) The content itself has nothing to do with the velocity, hasnt it ? :) Just Marc wrote: > Do share with us what this file is, I'm sure many are curious :) > > > Skiiiks wrote: >> Just Marc wrote: >>> I don't remember the original poster even telling us how many >>> requests per second he wants to serve of this single, small file. >>> Maybe all of your suggestions have been in vain because it's 20 >>> reqs/s. :) >>> >>> Marc >>> >>> >>> >> Now, it's 1830 reqs/s ... i think i'm reaching the network limit >> indeed :) > >
3 Jun 2007 12:34
Re: tunning server for just 1 page
Just Marc <marc <at> corky.net>
2007-06-03 10:34:06 GMT
2007-06-03 10:34:06 GMT
In that case make sure lighty compresses it, it should fly even faster. I believe there's even a lighty module which will cache it in compressed form and serve that. Skiiiks wrote: > Hehehehe, it's a simple single text file of about 14K > I can't share the content, because it's a private project for now... I > will (i hope) in summer... > But it's a simple file... just text, simple text :) > > The content itself has nothing to do with the velocity, hasnt it ? :) > > Just Marc wrote: >> Do share with us what this file is, I'm sure many are curious :) >> >> >> Skiiiks wrote: >>> Just Marc wrote: >>>> I don't remember the original poster even telling us how many >>>> requests per second he wants to serve of this single, small file. >>>> Maybe all of your suggestions have been in vain because it's 20 >>>> reqs/s. :) >>>> >>>> Marc >>>> >>>> >>>> >>> Now, it's 1830 reqs/s ... i think i'm reaching the network limit >>> indeed :) >> >> > >
3 Jun 2007 13:07
Re: tunning server for just 1 page
Skiiiks <skiiiks <at> gmail.com>
2007-06-03 11:07:09 GMT
2007-06-03 11:07:09 GMT
Yes, I'm thinking in mod_mem_cache
, mod_cache
and mod_compress
any more ideas ?
Just Marc wrote:
any more ideas ?
Just Marc wrote:
In that case make sure lighty compresses it, it should fly even faster. I believe there's even a lighty module which will cache it in compressed form and serve that.
Skiiiks wrote:Hehehehe, it's a simple single text file of about 14K
I can't share the content, because it's a private project for now... I will (i hope) in summer...
But it's a simple file... just text, simple text :)
The content itself has nothing to do with the velocity, hasnt it ? :)
Just Marc wrote:Do share with us what this file is, I'm sure many are curious :)
Skiiiks wrote:Just Marc wrote:I don't remember the original poster even telling us how many requests per second he wants to serve of this single, small file. Maybe all of your suggestions have been in vain because it's 20 reqs/s. :)Now, it's 1830 reqs/s ... i think i'm reaching the network limit indeed :)
Marc
RSS Feed