AOLserver Chat Logs

2005/10/05

IRC [00:47] *** holycow parted the chat.
IRC [01:20] *** bartt parted the chat.
IRC [01:21] *** bartt joined the chat.
IRC [01:48] *** bartt parted the chat.
IRC [02:05] *** holycow joined the chat.
IRC [04:11] *** redbrick joined the chat.
IRC [04:11] <redbrick> good morning
IRC [07:46] *** holycow parted the chat.
IRC [08:03] *** holycow joined the chat.
IRC [09:33] *** redbrick parted the chat.
IRC [09:41] *** CKrause joined the chat.
IRC [09:41] <CKrause> hi
IRC [09:42] <redbrick> Dossy, are u there?
IRC [09:43] <redbrick> i would prefer to talk to u here rather "chatting" over SMTP
IRC [09:43] <Dossy> hi.
IRC [09:43] <redbrick> hi
IRC [09:43] <Dossy> So, how far HAVE you gotten?
IRC [09:44] <redbrick> it's no problem to set up aolserver4 for a signle domain
IRC [09:44] <Dossy> OK -- are you only hosting static assets?
IRC [09:45] <redbrick> it's an rewrite of postnuke -> php+mysql
IRC [09:45] <redbrick> works fine
IRC [09:46] <redbrick> as long as i browser the page with IP and not with the domain
IRC [09:46] <redbrick> currently i have the following DB structure for my domains in a MySQL DB
IRC [09:48] <redbrick> table_domains: _server_id_ domain
IRC [09:48] <redbrick> table_Logfiles: _log_id_, logfile
IRC [09:49] <Dossy> are all the domains run by a single webmaster/etc?
IRC [09:49] <redbrick> table_Servers: _server_id_, server, docroot, log_id
IRC [09:49] <Dossy> before you go down the path of doing virtual hosting in AOLserver, you really have to concern yourself with all the security restrictions there.
IRC [09:49] <redbrick> uhu
IRC [09:52] <redbrick> it's all for our company, no external customers
IRC [09:52] <Dossy> OK.
IRC [09:53] <Dossy> one caveat: server-based virtual hosting with PHP (using libphpX.so) will NOT work.
IRC [09:53] <Dossy> it's a limitation in the PHP module.
IRC [09:53] <Dossy> for that, I use nscgi and php-cgi.
IRC [09:53] <Dossy> libphp4.so can ONLY be used in one server per process
IRC [09:55] <redbrick> what's the complication with libphpX.so?
IRC [09:55] <Dossy> it'll crash if you try to use it in more than one virtual server per process.
IRC [09:55] <Dossy> or, rather, it'll cause the nsd to crash.
IRC [09:56] <redbrick> than i have a big problem :(
IRC [09:57] <Dossy> why?
IRC [09:57] <redbrick> that means I can't get decent logging?
IRC [09:57] <Dossy> I just said: if you need to serve PHP from multiple virtual hosts, I know that nscgi+php-cgi works.
IRC [09:58] <redbrick> how about speed?
IRC [09:58] <Dossy> how many requests/sec do you need to serve?
IRC [09:59] <redbrick> aolserver serves dynamic content with libphpX.so much faster than any other webserver application does with static content. is this still so with php as cgi?
IRC [09:59] <Dossy> and, if you're going to continue using PHP, why are you bothering to switch to AOLserver?
IRC [09:59] <redbrick> aolserver is incredible fast
IRC [09:59] <Dossy> aolserver with libphp.so is faster than apache with mod_php?
IRC [09:59] <Dossy> do you have any benchmark numbers that demonstrate this? I'd LOVE to publish them. :)
IRC [10:00] <redbrick> due to more efficiant caching, yes
IRC [10:00] <redbrick> i testet apache1.3, Apache2, lighttpd and aolserver
IRC [10:00] <Dossy> based on what limited info. I know about PHP's internals, I can't see how libphp.so w/ AOLserver can be faster than mod_php w/ Apache.
IRC [10:00] <Dossy> lighttpd too? really?
IRC [10:01] <redbrick> jup
IRC [10:01] <redbrick> benchmarkt with apache bench
IRC [10:01] <Dossy> I'd love to see the numbers ...
IRC [10:02] <redbrick> testet against static index.htm, phpmyadmin index.php and a big img file
IRC [10:02] <redbrick> if you can wait i can publish the results
IRC [10:02] <Dossy> well, yes - static assets, AOLserver should do VERY well.
IRC [10:02] <redbrick> i'll give you the link then
IRC [10:02] <Dossy> but for PHP, it shouldn't be any better - maybe even worse.
IRC [10:03] <redbrick> maybe i intreprete the results wrong...
IRC [10:03] <redbrick> but have a look at them in a few mins
IRC [10:03] <Dossy> OK.
IRC [10:03] <Dossy> Anyhow - you could/should benchmark libphp4.so vs. nscgi+php-cgi
IRC [10:04] <Dossy> I bet nscgi+php-cgi will be slower, but not much slower.
IRC [10:06] <redbrick> hm, i have to wait some minutes till someone transfers the documents to the webserver
IRC [10:06] <redbrick> i can tell you the enviroment of the benchmarks
IRC [10:07] <redbrick> Hardwa
IRC [10:07] <redbrick> oops
IRC [10:08] <redbrick> Hardware: Dual Xeon 2.66 with 1 GB RAM
IRC [10:08] <redbrick> FS ReiserFS
IRC [10:09] <redbrick> Linux: Debian Stable with 2.4 and 2.6 kernel
IRC [10:09] <Dossy> hmm
IRC [10:10] <Dossy> You should definitely test nscgi+php-cgi performance, if you insist on needing virtual servers.
IRC [10:12] <Dossy> if you want to set up aolserver for vhosting of static (non-PHP) assets, that's easy enough and covered in that wiki page link I provided.
IRC [10:22] <Dossy> Are you still there?
IRC [10:22] <Dossy> I need to step away for about 2 hours ...
IRC [10:22] <Dossy> Email me if you have questions in the meantime.
IRC [10:41] <redbrick> ok
IRC [10:41] *** redbrick parted the chat.
IRC [12:04] *** holy_cow joined the chat.
IRC [12:11] *** holycow parted the chat.
IRC [14:40] <Dossy> ooh, AIM raises buddy list limit to 500, now.
IRC [14:44] <Peaceful> What was it before?
IRC [15:03] <Dossy> 250?
IRC [15:04] <Dossy> Ooh. I just found a replacement for my ugly tr script hack: iconv.
IRC [15:05] <Dossy> Formerly, I'd do stupid "tr/\x91\x92\x93\x94/''""/" crap. Now, I can do: iconv -f cp1251 -t us-ascii//TRANSLIT
IRC [15:16] *** holy_cow parted the chat.
IRC [15:19] *** bartt joined the chat.
IRC [16:04] <Dossy> http://elliottback.com/wp/wp-content/_dont-throw-like-a-girl.jpg
IRC [16:04] <Dossy> whoops, wrong window. :)
IRC [19:33] *** bartt parted the chat.
AIM [20:41] *** ChrisIzHott23 joined the chat.
AIM [20:41] *** ChrisIzHott23 joined the chat.