Re: Server Problem

2006-12-19 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jonathan Horne wrote:
> On Monday 18 December 2006 16:51, ossama abdel-haleem wrote:
>> Dear Sir,
>>   I have HP Proliant ML 370 G4 server with dual Processors 3.6 intel xeon
>> and HP Smart RAID controller (Config=>RAID5) (146GB * 6) + (4 GB Of RAM.)
>> The server working as application server (Tailored Software) based on
>> POSTGRESQL server. I installed the FreeBSD 6.1 to serve 100 users with the
>> application so - after period of time I found an error message appeared on
>> the server : Kern. Maxfiles Limit Exceeded By UID 1001, Please See Tuning
>> (7).
>>
>>   What is the problem? Can You Help Me because after this message appears
>> the server activities down.
>>
>>   Thanks
>>   Ossama Abdel Haleem
> 
> i think you must be referring to.  on my system, the default setting can be 
> seen, like this:
> 
> [EMAIL PROTECTED] ~]$ sysctl -a|grep kern.maxfiles
> kern.maxfiles: 12328
> 
> in order to raise this, a line would be added to /boot/loader.conf, like this:
> kern.maxfiles=24576
> 
> hth,
> jonathan

Either that, or if someone has too many files open they need to be
limited. login.conf(5) provides more information about that, along with
limits(1) and tuning(7), and the handbook chapter:
.

That value is a bit low though, and you should be safe in doubling or
quadrupling it.

- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFh6k7EnKyINQw/HARAqcrAJ90A7E86K81BN1glF2tSny7FcugKgCgnn3z
cnGFhSGrNCEdrMPFCezN4kA=
=PgHo
-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]"


Re: Server Problem

2006-12-18 Thread Beech Rintoul
On Monday 18 December 2006 13:51, ossama abdel-haleem wrote:
> Dear Sir,
>   I have HP Proliant ML 370 G4 server with dual Processors 3.6 intel xeon
> and HP Smart RAID controller (Config=>RAID5) (146GB * 6) + (4 GB Of RAM.)
> The server working as application server (Tailored Software) based on
> POSTGRESQL server. I installed the FreeBSD 6.1 to serve 100 users with the
> application so - after period of time I found an error message appeared on
> the server : Kern. Maxfiles Limit Exceeded By UID 1001, Please See Tuning
> (7).
>
>   What is the problem? Can You Help Me because after this message appears
> the server activities down.
>
>   Thanks
>   Ossama Abdel Haleem

The problem is too many files open.

Add this to /etc/sysctl.conf

kern.maxfiles=16144

Then in a terminal type: 

sysctl kern.maxfiles=16144

If you still get the error try increasing it some more. 

Also you should read man tuning as the  error message suggests, especially the 
section about kern.maxfiles.

Beech

-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpveu7Srf7ZV.pgp
Description: PGP signature


Re: Server Problem

2006-12-18 Thread Jonathan Horne
On Monday 18 December 2006 16:51, ossama abdel-haleem wrote:
> Dear Sir,
>   I have HP Proliant ML 370 G4 server with dual Processors 3.6 intel xeon
> and HP Smart RAID controller (Config=>RAID5) (146GB * 6) + (4 GB Of RAM.)
> The server working as application server (Tailored Software) based on
> POSTGRESQL server. I installed the FreeBSD 6.1 to serve 100 users with the
> application so - after period of time I found an error message appeared on
> the server : Kern. Maxfiles Limit Exceeded By UID 1001, Please See Tuning
> (7).
>
>   What is the problem? Can You Help Me because after this message appears
> the server activities down.
>
>   Thanks
>   Ossama Abdel Haleem

i think you must be referring to.  on my system, the default setting can be 
seen, like this:

[EMAIL PROTECTED] ~]$ sysctl -a|grep kern.maxfiles
kern.maxfiles: 12328

in order to raise this, a line would be added to /boot/loader.conf, like this:
kern.maxfiles=24576

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


Re: Re: server problem

2006-02-24 Thread [EMAIL PROTECTED]
For clarity's sake:
> Jack williams:
> | my IP address change as it is dynamic after this i could still use ftp
> | from elsewhere but no one could access my pages.

> Lowell Gilbert:
> | Probably.  How do people try to access your pages?  Are they using an
> | outdated DNS name?

On 2/24/06, Jack williams <[EMAIL PROTECTED]> wrote:
> no there trying to use my ip address i have given them my right one
> by the way. i just cant think of what could be wrong

Might be a case of your isp blocking it, check your terms of service
to see if they have such policies.

http://www.dynu.com/ provides free redirection and a FreeBSD
client, and if it is your isp not allowing inbound on port 80
you can have it proxied to another port ( is default, I think)
at their end.
And if you decide to pay for a real domain name, the redirection
can still be pretty inexpensive (or free).

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


RE: Re: server problem

2006-02-24 Thread Jack williams
no there trying to use my ip address i have given them my right one by the way. 
i just cant think of what could be wrong
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: server problem

2006-02-24 Thread Lowell Gilbert
"Jack williams" <[EMAIL PROTECTED]> writes:

> I was wondering if you could help me with a problem a few months ago i start 
> using free bsd on a computer then used it to web serve, this worked fine when 
> i set it up. after a few months my IP address change as it is dynamic after 
> this i could still use ftp from elsewhere but no one could access my pages. 
> could you help me with this?

Probably.  How do people try to access your pages?  Are they using an
outdated DNS name?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"