Skiiiks | 2 Jun 19:51 2007
Picon

upgrading to 1.4.15 ?

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 ;)
Norberto Meijome | 1 Jun 02:54 2007
Picon

Re: tunning server for just 1 page

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.

Just Marc | 3 Jun 09:23 2007
Picon

Re: tunning server for just 1 page

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

Just Marc | 3 Jun 09:24 2007
Picon

Re: upgrading to 1.4.15 ?

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 ;)

Skiiiks | 3 Jun 11:51 2007
Picon

Re: tunning server for just 1 page

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 :)
Skiiiks | 3 Jun 12:08 2007
Picon

weird behaviour of accesslog / cronolog

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"

Just Marc | 3 Jun 12:05 2007
Picon

Re: tunning server for just 1 page

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 :)

Skiiiks | 3 Jun 12:22 2007
Picon

Re: tunning server for just 1 page

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 :)
>
>

Just Marc | 3 Jun 12:34 2007
Picon

Re: tunning server for just 1 page

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 :)
>>
>>
>
>

Skiiiks | 3 Jun 13:07 2007
Picon

Re: tunning server for just 1 page

Yes, I'm thinking in mod_mem_cache , mod_cache and mod_compress
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. :)

Marc



Now, it's 1830 reqs/s ... i think i'm reaching the network limit indeed :)








Gmane