Re: Is mod_perl for Windoze not ready for prime time?
by stvn (Monsignor) on Mar 17, 2004 at 01:22 UTC
|
Rod,
mod_perl 1.99 is still under development, and is not really recommended for production use. But Apache 1.36/mod_perl 1.0 on Windows is essentially a single-threaded, single-process application and while somewhat more stable, is not really recommended for production use either.
Personally I have used both the Apache 1.36/mod_perl 1.0/Win2K and Apache 2.0/mod_perl 1.99/Win2K in production, but on a pretty low traffic a site (nowhere near the hits you are getting). I was pretty much forced into it by our client, our app usually runs on Linux or BSD but they wanted Windows, and in the end, the client is always right :-P. Personally I would not recommend it at all, and have promised to fight tooth and nail the next time a client requests we deploy on Windows.
I would recommend moving to some form of UNIX instead of Win2K, you will likely see even better performance than you are seeing now. Although, this is just my opinion and experience, others may have had different results, so take what i say with a grain of salt.
-stvn | [reply] |
|
|
Thanks, at least my suspicions are confirmed. Now, I've got to move to apps back off to other servers which are over loaded so I can start over on this server. The problem is that I only know enough about UNIX to be dangerous. I know performance will be better, but given the learning curve, which flavor of UNIX and mod_perl would you choose for a dual P3, 1.2Mhz machine with 4GB of memory and RAID?
Thanks,
Rod
| [reply] |
|
|
| [reply] |
|
|
|
|
|
|
|
|
|
Just for a bit of advocacy, I found debian really, really easy to install and configure. You can do a "Base install", it asks maybe a dozen questions total, most of which seemed fairly obvious to me (configure keybord, add accounts, configure network, etc) and then you have a nice clean base system with basically nothing running. Nothing running = no security holes.
After that, assuming you have the network setup, a simple apt-get install apache-perl and bam, you've got apache 1.3x and mod_perl 1.x set up properly. =]. Obviously you still have to configure the various bits, but I found it simple and easy at least.
| [reply] [d/l] |
|
|
|
|
Rod,
I know performance will be better, but given the learning curve, which flavor of UNIX and mod_perl would you choose for a dual P3, 1.2Mhz machine with 4GB of memory and RAID?
To be honest, we usually are deploying on managed servers, so I can't really say. For our inhouse dev and staging servers we usually use RedHat, but being that I only write the code (and configure Apache/mod_perl) my knowledge of the details of Linux/UNIX and hardware is limited. There are alot of good suggestions here already, but I would take that question over to a more Linux/UNIX/BSD oriented board and see what they say there too.
-stvn
| [reply] |
Re: Is mod_perl for Windoze not ready for prime time?
by PodMaster (Abbot) on Mar 17, 2004 at 01:13 UTC
|
I don't recall ever seeing mod_perl-1.99.
I've seen mod_perl-1.99_01 through mod_perl-1.99_13.
Which one do you have?
Did you google for the error message?
Doesn't seem like a mod_perl issue and googling seems to confirm it
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | | I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] |
|
|
I've googled, I've post bug reports. In fact a lot of folks have posted bugs reports. It's the lastest greatest. I even compiled with a later version of perl. However, I agree. It's Apache, but you can't separate the two.
| [reply] |
|
|
It's Apache, but you can't separate the two.
Why not? All the bug reports I saw made no mention whatsoever of mod_perl so the problem is an Apache problem, not related at all to mod_perl (meaning seek help from the Apache folks, not perl folks).
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | | I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] |