Can't create more pipe


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Can't create more pipe
# 1  
Old 06-26-2002
Question Can't create more pipe

How can I change the maxnumber of pipes on my workstation?

I'm running an EXPECT script that is suppose to start up 32 xterms.
But after 18 opened xterm, I get this msg:

- couldn't create pipe: too many open files


regard,

chris
# 2  
Old 06-26-2002
Tools maybe the kernel wil help

When i read your mesage i think off

1) change the kernel parameter "max. processes per user"
2) change the kernel parameter "max. allowed users"

the second one goes because each Xterm = 1 user

since i do not know with taste of UNIX you use i do not know how to change.

maybe you find in the syslog more information about the reason
# 3  
Old 06-26-2002
Bug And also

3) it can be a memory or swap problem
# 4  
Old 06-28-2002
Re: Can't create more pipe WRONG, you can't open another file

Quote:
Originally posted by uabcbac
But after 18 opened xterm, I get this msg:

- couldn't create pipe: too many open files

I think your problem is NOT with pipes but rather with the number of files you have open.

There are kernel parms for files, on mine it is called nfiles for "nubmer of files open". You may have a kernel parm called nflocks. Number of file locks.

You need to look at increasing your kernel parms at least double or more from the default. I had to 4X my nflocks from 1024 to 4096 on one production box that has a very large Oracle DB on it.


Smilie
# 5  
Old 07-01-2002
Thanks janr % Magnus

Magnus,

How do I change the my Kernel parms?

//Chris
# 6  
Old 07-01-2002
Tools

Depends on the Unix type
# 7  
Old 07-01-2002
uabcbac

You will need to post your OS type so someone here can help you. There are many Gurus here who can offer advice on how to do that, but you must give us the OS Version and some system hardware info so that we can help you fix this.

Let me say that this MAY help fix your problem, but it may only be one part of the problem. If you have Vendor Support, I would use it. If not, go to the website of you flavor for online support site. Many versions have free online search databases.

Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

How to create one's own pipe in one's own shell?

Good evening, I'm trying to do my own shell and I encountered some issues while creating it. Indeed when I try such a command I have DAUPHINE> DAUPHINE> ls -l | grep terminal > fichier DAUPHINE> cat fichier My shell is named DAUPHINE Whereas I should have: Code: ... (0 Replies)
Discussion started by: AntoineCompagni
0 Replies

2. Shell Programming and Scripting

Bash code to create named Pipe

Guy's, I need help with creating a pipe, I found this code online but not exactly sure what different parts are doing. Will someone be able to help me with explaining what code is doing? Also what I want is to have everything the same directory. Meaning I am working in directory: I want... (5 Replies)
Discussion started by: INHF
5 Replies

3. Programming

Create a pipe to /dev/tty

Hello everybody: I have a child process which reads a password from /dev/tty, as far as I know file descriptors for the child process can be seen by using lsof, so I want to connect to such device in order to send the password through a pipe, how could I do that? (2 Replies)
Discussion started by: edgarvm
2 Replies

4. SCO

Cannot create pipe

Hi, I'm new here, so please dont shoot me if I forgot something :) Some SCO box we've (our company) got recently from a new customer runs an app that hangs the entire box every once in a while. Today when an admin tried to start the db we got this error: $ dbstart dbstart: line 22: cannot... (6 Replies)
Discussion started by: necron
6 Replies

5. Shell Programming and Scripting

What are the differences between 'bash' and 'sh'

Hopefully this doesn't come off as too much of a "newbie" question or a flamebait. But I have recently begun working with a Sun Solaris box after having spent the past five years working with RedHat. From what i can tell, thing look fairly similar and the 'man' command is some help. But I've... (7 Replies)
Discussion started by: deckard
7 Replies

6. UNIX for Advanced & Expert Users

How to remove a file with a leading dash '-' in it's name?

Somehow someone created a file named '-ov' in the root directory. Given the name, the how was probably the result of some cpio command they bozo'ed. I've tried a number of different ways to get rid of it using * and ? wildcards, '\' escape patterns etc.. They all fail with " illegal option --... (3 Replies)
Discussion started by: GSalisbury
3 Replies

7. UNIX for Dummies Questions & Answers

quoting echo 'it's friday'

echo 'it's friday' why appear the > (3 Replies)
Discussion started by: yls177
3 Replies

8. Shell Programming and Scripting

Clearify what it means under 'WHAT' when hit the 'w'-command

I wonder how I shall read the result below, especially 'what' shown below. The result was shown when I entered 'w'. E.g what is TOP? What is gosh ( what does selmgr mean?)? login@ idle JCPU PCPU what 6:15am 7:04 39 39 TOP 6:34am 6:45 45 45 TOP 6:41am ... (1 Reply)
Discussion started by: Aelgen
1 Replies

9. Programming

i can't use 'make' in my computer?

I need to compile a file,but 'make' does not work.please tell me how to use it or need which tools? (3 Replies)
Discussion started by: dsun5
3 Replies
Login or Register to Ask a Question