Re: Memory Limits

2008-06-10 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Rahul wrote:
| Hello,
|
| I'm new to FreeBSD and really attracted to it because of the
| performance and stability it provides. So I am looking to develop a
| high performance system that may need to process over 100K UDP
| messages per second and be able to store information quickly. I
| couldn't find much documentation on the memory limits in FreeBSD,
| especially per-process limits in both 32-bit and 64-bit versions.
| Could you please point me to where I can find such information along
| with other performance tuning tips and characteristics of the OS to
| keep in mind?

The first ones coming to my mind are getrlimit(2) + relatives and
tuning(7)...

Hope this helps, have fun :)

- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkhOT/IACgkQwMJqmJVx944ctwCgt66ZyOstY6TNEY7PyJmrtQe+
gs8An1RTiZ0lYoORBNhbhl7umn/VvoTV
=ZuJr
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Memory Limits

2008-06-09 Thread Rahul
Hello,

I'm new to FreeBSD and really attracted to it because of the
performance and stability it provides. So I am looking to develop a
high performance system that may need to process over 100K UDP
messages per second and be able to store information quickly. I
couldn't find much documentation on the memory limits in FreeBSD,
especially per-process limits in both 32-bit and 64-bit versions.
Could you please point me to where I can find such information along
with other performance tuning tips and characteristics of the OS to
keep in mind?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Increasing per-process memory limits?

2003-10-15 Thread njc
Hello,
I'm currently using Zope's Plone application which relies heavily on 
python. When uploading large files (65 megs, possibly higher), the 
python process is bombing out with a 'memory exceeded' error. I'm using 
4.8-STABLE . I've been told that if I increase the amount of available 
memory to the python process that I can resolve this issue. I've 
attempted increasing the max users variable in the kernel to 0, hoping 
it might auto-tune, but that doesn't seem to be working. Am I tweaking 
the wrong area? Where should I be looking?



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Increasing per-process memory limits?

2003-10-15 Thread Giorgos Keramidas
On 2003-10-14 23:51, njc [EMAIL PROTECTED] wrote:
 Hello,
 I'm currently using Zope's Plone application which relies heavily on
 python. When uploading large files (65 megs, possibly higher), the
 python process is bombing out with a 'memory exceeded' error. I'm using
 4.8-STABLE . I've been told that if I increase the amount of available
 memory to the python process that I can resolve this issue. I've
 attempted increasing the max users variable in the kernel to 0, hoping
 it might auto-tune, but that doesn't seem to be working. Am I tweaking
 the wrong area? Where should I be looking?

Try reading the manual page of /etc/login.conf:

man login.conf

Another way of enforcing/changing the limits that a user process has is
through the 'limit' built-in command of tcsh or the /usr/bin/limits
system tool.  More information about these in the tcsh(1) and limits(1)
manpages.

- Giorgos

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Increasing per-process memory limits?

2003-10-15 Thread Julien Gabel
 Try reading the manual page of /etc/login.conf:

   man login.conf

 Another way of enforcing/changing the limits that a user process has is
 through the 'limit' built-in command of tcsh or the /usr/bin/limits
 system tool.  More information about these in the tcsh(1) and limits(1)
 manpages.

And the corresponding built-in in [k]sh(1) compatible shell is ulimit(1).

--
-jg.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Increasing per-process memory limits?

2003-10-15 Thread David Landgren
Giorgos Keramidas wrote:

On 2003-10-14 23:51, njc [EMAIL PROTECTED] wrote:

Hello,
I'm currently using Zope's Plone application which relies heavily on
python. When uploading large files (65 megs, possibly higher), the
python process is bombing out with a 'memory exceeded' error. I'm using
4.8-STABLE . I've been told that if I increase the amount of available
memory to the python process that I can resolve this issue. I've
attempted increasing the max users variable in the kernel to 0, hoping
it might auto-tune, but that doesn't seem to be working. Am I tweaking
the wrong area? Where should I be looking?


Try reading the manual page of /etc/login.conf:

	man login.conf

Another way of enforcing/changing the limits that a user process has is
through the 'limit' built-in command of tcsh or the /usr/bin/limits
system tool.  More information about these in the tcsh(1) and limits(1)
manpages.
Note that the GENERIC kernel has a hard limit of 256MB, defined by 
MAXDSIZ (and MAXSSIZ too) in the configuration file. For modern 
machines with a large amount of RAM this may be inadequate. You will 
have to recompile the kernel to run larger processes.

David

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Increasing per-process memory limits?

2003-10-15 Thread njc


Giorgos Keramidas wrote:

Try reading the manual page of /etc/login.conf:

	man login.conf

Another way of enforcing/changing the limits that a user process has is
through the 'limit' built-in command of tcsh or the /usr/bin/limits
system tool.  More information about these in the tcsh(1) and limits(1)
manpages.
- Giorgos

I'm sorry, I forgot to mention that I looked into this as well - the 
python process runs as root, which appears to have unlimited resource 
usage... that's kind of what confused me about this issue in the first 
place. Thank you for your response, though.

-njc

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]