Tobias Wagener wrote:
Hello,
I'm currently developing a huge application with mod_perl, unixODBC and
MaxDB/SAPDB.
On my developing system everything is fine. But on the productive system
with > 50 users, I have database connection errors and request aborts and
so on.
Now I want to ask if someo
It's rudimentary but you can try Apache ab, the Apache benchmarking
tool. You probably have it installed already. Try 'man ab' at the prompt.
If you want to emulate 50 concurrent requests, sent twice, you'd do
something like:
ab -c 50 -n 100 http://example.com/etc?etc
If you don't have it
On 07/02/2012 08:58, André Warnier wrote:
Tobias Wagener wrote:
Hello,
I'm currently developing a huge application with mod_perl, unixODBC
and MaxDB/SAPDB.
On my developing system everything is fine. But on the productive system
with > 50 users, I have database connection errors and request a
I asked this a few weeks ago. Is it possible that mod_perl is running but the
$ENV{MOD_PERL} variable doesn't exist?
it seems like it is running (the site is zippier) and when I restart apache the
log file has the following line.
Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 D
What's MaxRequestsPerChild?
Are there several big fat httpd's whose PIDs remain constant?
On 7 Feb 2012, at 14:18, mike cardeiro wrote:
> I asked this a few weeks ago. Is it possible that mod_perl is running but
> the $ENV{MOD_PERL} variable doesn't exist?
>
> it seems like it is running (t
> From: Dave Hodgkinson
>
>What's MaxRequestsPerChild?
>
MaxRequestsPerChild 1
...I think I may have figured out the problem. I think mod perl is running but
my scripts are not using it. I added
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecC
mike cardeiro wrote:
From: Dave Hodgkinson
What's MaxRequestsPerChild?
MaxRequestsPerChild 1
...I think I may have figured out the problem. I think mod perl is running but my scripts are not using it. I added
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
> From: André Warnier
> You should probably analyse your requirements carefully (as to exactly /why/
> you
> want the script to run as that user).
I am creating a file transfer site. When a user logs in they can upload a
file, so I need the script to write the file to a directory that
On 7 Feb 2012, at 16:08, mike cardeiro wrote:
>
>
>> From: André Warnier
>
>
>> You should probably analyse your requirements carefully (as to exactly /why/
>> you
>> want the script to run as that user).
>
>
> I am creating a file transfer site. When a user logs in they can upload a
mike cardeiro wrote:
From: André Warnier
You should probably analyse your requirements carefully (as to exactly /why/ you
want the script to run as that user).
I am creating a file transfer site. When a user logs in they can upload a
file, so I need the script to write the file to a
> From: André Warnier
>
> Now, as long as we're there, what happens in your application if two people
> upload a file with the same file name ?
>
When the upload happens the script makes an entry in a mysql table with
the file name, mime type and other info; the table has an autoincremented
mike cardeiro wrote:
From: André Warnier
>
Now, as long as we're there, what happens in your application if two people
upload a file with the same file name ?
When the upload happens the script makes an entry in a mysql table with
the file name, mime type and other info; the table has a
> From: André Warnier
> Very good. And by the same mechanism, you are already avoiding the problem
> with
> all the silly (and sometimes dangerous) names that people can give to their
> files.
that is precisely why I did it this way.
>
> So if your files in the filesystem only have an u
mike cardeiro wrote:
From: André Warnier
Very good. And by the same mechanism, you are already avoiding the problem with
all the silly (and sometimes dangerous) names that people can give to their
files.
that is precisely why I did it this way.
You would be surprised at the number of
> From: André Warnier
> To: mod_perl list
>
> Now another question : apart from cgi-bin scripts which run much faster under
> mod_perl, have you already tried writing mod_perl-based Apache modules ?
> (because that's where the really interesting things start, with mod_perl).
>
I am a total ne
mike cardeiro wrote:
From: André Warnier
To: mod_perl list
Now another question : apart from cgi-bin scripts which run much faster under
mod_perl, have you already tried writing mod_perl-based Apache modules ?
(because that's where the really interesting things start, with mod_perl).
I
- Original Message -
> From: André Warnier
>
> And it doesn't ?
> The startup message of your Apache seemed to say that it does..
>
Yes, it now is running and I am on my way!
mike cardeiro wrote:
- Original Message -
From: André Warnier
And it doesn't ?
The startup message of your Apache seemed to say that it does..
Yes, it now is running and I am on my way!
Good, then..
about your wish to limit the size of the files someone can upload,
depending on
On Tue, Feb 7, 2012 at 7:26 PM, André Warnier wrote:
> You can also look at $CGI::POST_MAX in the same documentation.
See also LimitRequestBody:
http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestbody
- Perrin
19 matches
Mail list logo