dbTalk Databases Forums  

cannot set file handle limit 1024,

comp.databases.btrieve comp.databases.btrieve


Discuss cannot set file handle limit 1024, in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jhun bacala
 
Posts: n/a

Default cannot set file handle limit 1024, - 02-24-2004 , 01:56 AM






Hi All,

I had a Redhat 7.3 with Pervasive.SQL v8.5 server. I've one concern
about this installation, When I connect my Pervasive Monitor that is
on a windows machine and check on Resource Usage I see that File
Handles is set only at 200 Maximum on the RedHat machine. The
/var/log/messages of the RedHat is showing this kind of messages
"mkded: Cannot set file handle limit 1024, the current limit is 1024."

I beleived that File Handle seetings is being handled dymanically by
Pervasive. but with only 200 is set I think I'm gonna have a problem
with this.

Is this a bug on Pervasive v8?

Thanks

Reply With Quote
  #2  
Old   
Bill Bach
 
Posts: n/a

Default Re: cannot set file handle limit 1024, - 02-24-2004 , 10:02 AM






The number of files is dynamic on all Pervasive.SQL V8 environments. You
should be able to ignore this "maximum setting".
Goldstar Software Inc.
Building on Btrieve(R) for the Future(SM)
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Pervasive.SQL Service & Support Classes ***
Chicago: March, 2004: See our web site for details!


jhun bacala wrote:

Quote:
Hi All,

I had a Redhat 7.3 with Pervasive.SQL v8.5 server. I've one concern
about this installation, When I connect my Pervasive Monitor that is
on a windows machine and check on Resource Usage I see that File
Handles is set only at 200 Maximum on the RedHat machine. The
/var/log/messages of the RedHat is showing this kind of messages
"mkded: Cannot set file handle limit 1024, the current limit is 1024."

I beleived that File Handle seetings is being handled dymanically by
Pervasive. but with only 200 is set I think I'm gonna have a problem
with this.

Is this a bug on Pervasive v8?

Thanks


Reply With Quote
  #3  
Old   
Leonard
 
Posts: n/a

Default Re: cannot set file handle limit 1024, - 02-24-2004 , 09:10 PM



While you can ignore the maximum setting for Pervasive as the database
engine is dynamic, Linux will enforce the file handle limit of 1024.
With overhead this works out to be around 1000 physical database
files.
If you need more (not likely but possible) you will need to add a
ulimit statement to increase the OS limit in the
/etc/rc.d/init.d/psql
startup script.

Leonard

On 24 Feb 2004 11:02:05 EST, Bill Bach <bbach (AT) cncdsl (DOT) com> wrote:

Quote:
The number of files is dynamic on all Pervasive.SQL V8 environments. You
should be able to ignore this "maximum setting".
Goldstar Software Inc.
Building on Btrieve(R) for the Future(SM)
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Pervasive.SQL Service & Support Classes ***
Chicago: March, 2004: See our web site for details!


jhun bacala wrote:

Hi All,

I had a Redhat 7.3 with Pervasive.SQL v8.5 server. I've one concern
about this installation, When I connect my Pervasive Monitor that is
on a windows machine and check on Resource Usage I see that File
Handles is set only at 200 Maximum on the RedHat machine. The
/var/log/messages of the RedHat is showing this kind of messages
"mkded: Cannot set file handle limit 1024, the current limit is 1024."

I beleived that File Handle seetings is being handled dymanically by
Pervasive. but with only 200 is set I think I'm gonna have a problem
with this.

Is this a bug on Pervasive v8?

Thanks


Reply With Quote
  #4  
Old   
jhun bacala
 
Posts: n/a

Default Re: cannot set file handle limit 1024, - 02-25-2004 , 03:38 AM



Thanks Bill


Bill Bach <bbach (AT) cncdsl (DOT) com> wrote

Quote:
The number of files is dynamic on all Pervasive.SQL V8 environments. You
should be able to ignore this "maximum setting".
Goldstar Software Inc.
Building on Btrieve(R) for the Future(SM)
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Pervasive.SQL Service & Support Classes ***
Chicago: March, 2004: See our web site for details!


jhun bacala wrote:

Hi All,

I had a Redhat 7.3 with Pervasive.SQL v8.5 server. I've one concern
about this installation, When I connect my Pervasive Monitor that is
on a windows machine and check on Resource Usage I see that File
Handles is set only at 200 Maximum on the RedHat machine. The
/var/log/messages of the RedHat is showing this kind of messages
"mkded: Cannot set file handle limit 1024, the current limit is 1024."

I beleived that File Handle seetings is being handled dymanically by
Pervasive. but with only 200 is set I think I'm gonna have a problem
with this.

Is this a bug on Pervasive v8?

Thanks

Reply With Quote
  #5  
Old   
jhun bacala
 
Posts: n/a

Default Re: cannot set file handle limit 1024, - 02-25-2004 , 08:19 PM



Hi Leonard,

I'm very much interested on your suggestion, perhaps you can show me
how to add a ulimit statement in the /etc/rc.d/init.d/psql

Thanks

Jhun Bacala


Leonard <lharvey (AT) austin (DOT) rr.com> wrote

Quote:
While you can ignore the maximum setting for Pervasive as the database
engine is dynamic, Linux will enforce the file handle limit of 1024.
With overhead this works out to be around 1000 physical database
files.
If you need more (not likely but possible) you will need to add a
ulimit statement to increase the OS limit in the
/etc/rc.d/init.d/psql
startup script.

Leonard

On 24 Feb 2004 11:02:05 EST, Bill Bach <bbach (AT) cncdsl (DOT) com> wrote:

The number of files is dynamic on all Pervasive.SQL V8 environments. You
should be able to ignore this "maximum setting".
Goldstar Software Inc.
Building on Btrieve(R) for the Future(SM)
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Pervasive.SQL Service & Support Classes ***
Chicago: March, 2004: See our web site for details!


jhun bacala wrote:

Hi All,

I had a Redhat 7.3 with Pervasive.SQL v8.5 server. I've one concern
about this installation, When I connect my Pervasive Monitor that is
on a windows machine and check on Resource Usage I see that File
Handles is set only at 200 Maximum on the RedHat machine. The
/var/log/messages of the RedHat is showing this kind of messages
"mkded: Cannot set file handle limit 1024, the current limit is 1024."

I beleived that File Handle seetings is being handled dymanically by
Pervasive. but with only 200 is set I think I'm gonna have a problem
with this.

Is this a bug on Pervasive v8?

Thanks

Reply With Quote
  #6  
Old   
Leonard
 
Posts: n/a

Default Re: cannot set file handle limit 1024, - 03-03-2004 , 04:25 AM



I just added a
ulimit -n <number of files>
to the
/etc/rc.d/init.d/psql
in the
start_psql()
section. I threw mine in after the
fi
echo mkded

Leonard

On 25 Feb 2004 18:19:22 -0800, jhun.bacala (AT) nccc (DOT) com.ph (jhun bacala)
wrote:

Quote:
Hi Leonard,

I'm very much interested on your suggestion, perhaps you can show me
how to add a ulimit statement in the /etc/rc.d/init.d/psql

Thanks

Jhun Bacala


Leonard <lharvey (AT) austin (DOT) rr.com> wrote

While you can ignore the maximum setting for Pervasive as the database
engine is dynamic, Linux will enforce the file handle limit of 1024.
With overhead this works out to be around 1000 physical database
files.
If you need more (not likely but possible) you will need to add a
ulimit statement to increase the OS limit in the
/etc/rc.d/init.d/psql
startup script.

Leonard

On 24 Feb 2004 11:02:05 EST, Bill Bach <bbach (AT) cncdsl (DOT) com> wrote:

The number of files is dynamic on all Pervasive.SQL V8 environments. You
should be able to ignore this "maximum setting".
Goldstar Software Inc.
Building on Btrieve(R) for the Future(SM)
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Pervasive.SQL Service & Support Classes ***
Chicago: March, 2004: See our web site for details!


jhun bacala wrote:

Hi All,

I had a Redhat 7.3 with Pervasive.SQL v8.5 server. I've one concern
about this installation, When I connect my Pervasive Monitor that is
on a windows machine and check on Resource Usage I see that File
Handles is set only at 200 Maximum on the RedHat machine. The
/var/log/messages of the RedHat is showing this kind of messages
"mkded: Cannot set file handle limit 1024, the current limit is 1024."

I beleived that File Handle seetings is being handled dymanically by
Pervasive. but with only 200 is set I think I'm gonna have a problem
with this.

Is this a bug on Pervasive v8?

Thanks


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.