Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Newbie
Reload this Page 2.2 kernel process/thread limits
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Newbie If you're new to the wonderful world of Linux, start here!

Reply
 
Thread Tools Display Modes
Old 05-14-2003   #1 (permalink)
critracer
Just Joined!
 
Join Date: May 2003
Location: California
Posts: 1
2.2 kernel process/thread limits

Hello,
I'm looking to increase the file descriptor limits and process/thread limits. I've made the changes to limits.h, posix_types.h, types.h, limits.conf and login files....and I know I have to recompile the kernel for this to take affect, but do I really have to recompile glibc as well?

Background: I'm running an informix instance that holds two production databases. I have 4 java brokers connecting to this machine from another server that brings in requests from users on the web. Whenever we do load testing or get an excessive amount of traffic, the instance freezes and doesn't allow any more connections. This forces us to bounce the instance causing an outage. I've increased the file-max and inode-max which seemed to help for a while.

If anyone has run into a similar situation or has any information on these limits, it would be greatly appreciated. Thanks.
Scott Hamilton
critracer is offline   Reply With Quote
Old 05-14-2003   #2 (permalink)
Dolda2000
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,575
Have you checked so that it actually is a resource outage? It's pretty pointless to remedy something if you don't know that it actually is the cause.
Anyway, to actually answer your question: You don't have to change anything in glibc about process and thread maximae. You do, on the other hand, have tomake glibc aware that there can be more than 1024 file descriptors per process. The main thing to change, I guess, is the FD_SETSIZE constant, but I don't know if you need to change anything more than that.
Dolda2000 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 06:19 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0