Server :: "fork: Resource Temporarily Unavailable" For Certain User?

Jan 4, 2010

I have a machine running on RH with 4G memory and 8G swap.Just now I'm having a problem when loging in with a user - just call it "userX" -.Each time I'm logged in I got a message Code:-bash: fork: ource temporarily unavailableAnd almost everytime I entered any command, it gives me the same warning. In some time (rarely) it will give me proper result, but almost any time it gives me the warning and no result.When I use 'top' command, it shows that I still have 500M free memory and about 8G free swaps. Plus the process for userX is less than 20 processes, and each of them are short processes (less than an hour, mostly just few seconds).As a note this problem only occur on userX, for any other user on the machine everything works just fine.

View 6 Replies


ADVERTISEMENT

CentOS 5 :: Fork - Resource Temporarily Unavailable

Sep 11, 2009

I installed a while ago two CentOS 5.3 servers. One of them was running Samba and another OpenLDAP. I configured Samba to act as a PDC on the network and everything was working fine. I was already on policies configuration and desktop migrations.

The following problems are Samba server problem, LDAP server is on hold until I figure out the first problem.

Software conf:

Hardware conf:

One day, both servers began crashing, and after a while, it showed the following during the boot on Samba:

After that, ALL CentOS installations had this problem after yum update, epel installation and some smb.conf modifications:

I figured out it might be EPEL (i did installed yum-priorities and tryied updating the base sistem BEFORE epel installations), so I installed the system without EPEL yum repository. After some good and relieving 15 min working, the system crashed AGAIN after yum base update and showed the following on boot time:

And it stops right there.

Maybe some wrong kernel update? the first time it crashed in one way, with running updated system (After the first update, no manual update was done). The sequel problems were all after Kernel update and EPEL. The last one was just after Kernel update. I'll try one last time with NO updates, but i can't run the system like that.

I can't do anything that might one day crash, it's a 6000-7000 user gov environment, but i don't want to install another distro, so if I don't figure it out, they will order me to.

View 9 Replies View Related

Slackware :: Xfce Died - Xfce4-session: Fatal IO Error 11 (Resource Temporarily Unavailable) On X Server

Sep 9, 2010

I was just mucking about in xfce, trying out new window buttons in conjunction with the black theme - dusk?? - when POW! - X shut down. Rebooting didn't restore things. Error is along these lines:

xfce4-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0. xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
[Code]....

Is there a config file I can edit to get away from the window button setting it dislikes, or is reinstalling xfce the only option?

View 2 Replies View Related

Programming :: C - Resource Temporarily Unavailable?

Mar 7, 2010

I'm working a program to implement a simple multi-process browser. The browser works by having a ROUTER process as the parent of everything else in the program. There's another process called the CONTROLLER which is part of where the user can input information. To tell the ROUTER to make a new tab in the browser the user activates a function from the CONTROLLER to send the create new tab information to the ROUTER:

Code:
void new_tab_created_cb(GtkButton *button, gpointer data)
{

[code]...

View 1 Replies View Related

Server :: Samba "mount Error(11): Resource Temporarily Unavailable"?

Jun 30, 2010

I've been running Samba on Gentoo as a PDC for a Windows XP domain for several years. We are using the IdealX smbldap tools to maintain users, we are storing accounts in OpenLDAP, and everything has been just golden for quite a while. However, for various reasons, we are migrating our servers away from Gentoo and onto Ubuntu 10.04 (64-bit). Unfortunately, replicating our Samba PDC/OpenLDAP backend on Ubuntu is kicking our backsides.I've got Samba 3.4.7 running. I've got OpenLDAP running. ldapsearch/ldapmodify/ldapadd all work correctly. However, when I try to mount a Samba share on another Ubuntu machine, I get...:

Code:
testuser@testhost:~$ sudo mount.cifs //192.168.4.173/testuser /home/testuser/mnt/testuser --verbose -o

[code]...

View 3 Replies View Related

Ubuntu :: Unable To Install JDK - Resource Temporarily Unavailable

Mar 25, 2010

I have had ubuntu installed for a few months now and have been loving it. Yesterday I wanted to get JDK installed for a found a forum that said how to install it on ubuntu. The installation was not a success (I am not sure why because I am not skilled when it comes to the command line and I didn't understand the error). Later, I tried to install a different application just through the ubuntu software center and it said it was waiting for a different software manager to finish. I didn't understand what was still running because I had all other applications closed that I know of.

Once I restarted the problem was the same. Then I found a bug where people had the same problem with the software manager and they entered this and fixed it:
sudo dpkg --configure -a Now whenever I try to apt-get anything I get:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

View 2 Replies View Related

Ubuntu Installation :: Could Not Get Lock - Resource Temporarily Unavailable

Apr 10, 2010

Today when tried to install a software from the terminal...d command dint work. Check this.

calvin@calvin-desktop:~$ sudo apt-get install pidgin
[sudo] password for calvin:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
calvin@calvin-desktop:~$

It says that it cannot get lock! I have installed ubuntu along with windows! and drive E: is in windows.

View 4 Replies View Related

Software :: Installing Updates - Resource Temporarily Unavailable

Feb 2, 2011

I am running ubuntu 10.04 and am trying to get updates via the update manager but continue to get the following errors:
"E: could not get lock /var/cache/apt/archives/lock - open(11:Resource temporarily unavailable)
E: Unable to lock the download directory"

View 2 Replies View Related

Ubuntu :: Update Manager Error - Resource Temporarily Unavailable

Jan 19, 2010

I have a few updates that I can install using the Update Manager but when I click the "Install Updates" button I get this pop up window message
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the download directory
How to get the updates?

View 1 Replies View Related

Ubuntu Servers :: E: Could Not Get Lock /var/lib/dpkg/lock - Open (11 Resource Temporarily Unavailable)

Mar 25, 2010

When i connect windows server 2003 from ubuntu these error displayed .When i installing the tsclient, by executing these following command from a Terminal window:

sudo apt-get install tsclient

When i run these command the following error displayed.

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

View 1 Replies View Related

Ubuntu :: Sudo-apt Get Not Working - Not Get Lock /var/lib/dpkg/lock Resource Temporarily Unavailable

Jun 12, 2011

I recently installed Ubuntu 11.04 on an old Sony Vaio laptop. I was following some of the steps here..[url]

The step "Enable Full DVD Playback(Dual Layer DVD Support)" did not finish correctly doh and now I can't use 'sudo apt-get' for anything or the software center or using the 'Update Manager' does not work.

The update manger says it may be caused by an update not finishing correctly which sounds correct as explained above. The apt-get command gives me back the following....'Could not get lock /var/lib/dpkg/lock resource temporarily unavailable' 'unable to lock administration directory /var/lib/dpkg is another process using it?'

I tried the obvious restart but that hasn't worked.

View 6 Replies View Related

Ubuntu :: Could Not Get Lock /var/lib/dpkg/lock - Open (11 Resource Temporarily Unavailable)?

Apr 3, 2010

I have pidgin2.5.2. I want to install pidgin2.6.6.How can I do that?E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

View 1 Replies View Related

General :: Fork: Resources Temporarily Unavalbale?

Apr 30, 2010

I am continuously getting fork: resources temporarily unavailable even when I am typing ls command.

View 1 Replies View Related

Ubuntu :: Resource Fork Intentionally Left Blank

Dec 1, 2010

I just found out that there are some weird files on my harddisk: they have a filename that starts with "._", have a size of 4096 bytes, and contain a string that sais "This resource fork intentionally left blank".Does anyone know what put them there?

View 1 Replies View Related

Programming :: Synchronization Between Threads Fails - Resource Unavailable

May 6, 2009

I am working with a C++ program consisting of two threads. The first threads receives packets through an UDP unicast connection and stores them in a buffer. The second thread reads the packets from the buffer and sends them through an UDP multicast connection. Both use blocking sockets and share a common buffer and a linked list L1, which are protected by mutexes. The program seemed to work just fine, receiving a packet and sending it almost immediately, but started giving some trouble recently. The synchronization between both thread started failing, and I decided to use a non-blocking socket in the sending thread. As a consequence, sendto() doesn't work in some cases, causing an errno 11 (Resource unavailable).

[Code] ...

View 4 Replies View Related

Server :: Any Way To Prevent Fork Bomb On Server

May 1, 2010

I wanted to know is there any way to prevent fork bomb on a server or understand who did it and how did it I mean how to track reference of fork bomb and find out how does it occur ?

View 3 Replies View Related

Server :: Service - Printername - Is Flagged Unavailable

Jul 28, 2010

WARNING No path in service <printername> - Making it unavailable!

I'm runing a CentOS 5.4 server. I have a Windows NT Domain. My CentOS server is in the Domain, Samba works fine (both ways). I haven't needed to print from the CentOS box until now. I have a shared HP LaserJet 2100 printer connected to a workstation and shared. Everyone can use it. I'm not using SELinux

I want to be able to print from the CentOS box to that printer.

I used Webmin to set it up, but no joy so I've searched the entire web for any info to do it manually but I'm stuck.

My smb.conf file looks OK. It's just the printer.

View 1 Replies View Related

Server :: Error - Unable To Fork: Cannot Allocate Memory

Feb 6, 2011

While Apache is off, then everything is OK, but if I start apache server after some time I get messages "Unable to fork: Cannot allocate memory" when trying to do some commands with ssh(dir,rm,top and so on).

P.S. There is free RAM when I get that message.

View 2 Replies View Related

Server :: Setup A VPN Server At Work For Resource Sharing - Connect Keep Failing

Aug 29, 2010

I need to setup a Linux VPN server at work for resources' sharing, I currently have a server running CentOS 5.4, and tried endless tutorials on the web, but to no avail, and can't find where the logs are kept for the VPN server to check where the error is. But all my attempts to try to connect keep failing.

View 9 Replies View Related

Server :: Mail Server Blocks: Warning: Numeric Domain Name In Resource Data Of MX Record

Feb 4, 2010

My test messages from one mail server to another are getting sent to my spambucket and the only error in the logs is: warning: numeric domain name in resource data of MX record for [URL]: 74.63.64.42

View 1 Replies View Related

Debian Configuration :: How To Monitor Resource Of Server

Feb 15, 2010

I need to monitor resource of my server. I have found munin and sysstat, Does munin use systat? or they are different package?because in some documents I have found on net,for installing munin, systat is needed !!for example on RedHat based distor, sysstat package is needed! but on debian is not needed!

View 1 Replies View Related

CentOS 5 Server :: Status=deferred - Delivery Temporarily Suspended - Connect To 127.0.0.1[127.0.0.1]: Connection Refused

Apr 6, 2010

For some reason my mail server (Postfix) seems to have stopped delivering mail.

The error in the mail logs is "status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused) against all mails.

I have researched to try and find an answer, most information on this problem seems to point to a malfunction in the Anti Virus and Spam Filtering solution.

I have checked that Amavisd and Clamd are both operating and have restarted Postfix but all to no avail, squirrelmail is not working either.. ie not even producing a login page.

I have not changed anything in the config and am just wondering if anyone has experienced similar and could point me in the right direction of a solution.

View 5 Replies View Related

Server :: Resource Stickiness Automatically Move All Resources In Certain Time

Jun 8, 2011

I have configured heartbeat and pacemaker with 2 nodes, all resources work well, all resources stars when some of them is down, when the host is down, pacemaker moves all resources to the other one, my configuration:

[code]...

i have the directive " resource-stickiness="INFINITY", when node1 is down, the node2 starts all resources and prevent failback again though the node1 is up, back i need move all resources to the first one when I certainly sure the node1 is runnig, is there some directive to tell pacemaker that move back again the to node1 automatically? i mean, is posibble to move back resources to node1 when It has passed certain time, maybe 1 hour or something?

View 2 Replies View Related

Ubuntu :: Using Messaging And Voip (app)let - Error "Disconnected This Resource Is Already Connected To The Server."

Jan 19, 2011

i am trying to use the Messaging and VOIP client that manages multiple accounts in the bar on top of the screen in the unity desktop. i am trying to connect to irc freenode but when i try to add the account i get an error message that says... "Disconnected this resource is already connected to the server."

View 1 Replies View Related

Server :: CIFS Mounted Multiple Times / Error "Device Or Resource Busy"?

Feb 10, 2011

I have a little problem with my RHEL5.5 IA64. I mounted a Windows directory with 'mount -t cifs'. After a little while someone else mounted the same windows directory in the same mountpoint. The output from 'mount -v' shows me that the same directory is mounted twice in the same mountpoints. I cannot unmount it, not even with the force option. The error is "Device or resource busy". There are no open files in the shared directory and no one using the directory or subdirectories.

View 6 Replies View Related

Server :: Make A Normal User Execute Commands Of The Super User's?

Jul 3, 2010

I have a question that i want to make a normal user to execute the commands which the root user is able to execute, say if i have a user named siru and when i logged in using siru i cannot run commands like tracert,nmap@loccalhost and all but i can run when i have logged into root account so my question is how to make siru to run the command tracert,nmap@localhost.I have even edited the .bash_profile of siru's home directory from

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then

[code]...

View 1 Replies View Related

Server :: Rsync Using Www As User Gives Ssh Error - User Www Not Allowed Because Account Locked

Feb 11, 2011

Apache is run as www as is all the files/folders. People are uploading via FTP, scp, so the problem is if I chmod so everyone can read, then rsync as a user it works until new files are added which then my ; if rsync fails with a permission denied. Now I can add a chmod in the script so everyone can read, but since www can already read, I figured I would just change my script to use www. I added the ssh key to his authorized_keys file, but when I try to just ssh in I see this in the secure file;

server sshd[29539]: User www not allowed because account is locked
sshd[29539]: Failed none for invalid user www from ip port 54983 ssh2

Now I read a few places already saying I need to add a password to the account, etc. but before I jump and try all I read, 1st major one, will this now break apache? Will this affect any startup things, etc. and .... will that unlock that user for ssh in or is there another preferred method?

View 6 Replies View Related

Server :: PRNG Not Seeded - Works With 1 User But Not A /chroot User

Jun 28, 2010

I installed SSH-keygen dependancies for a /chroot user.

I can now execute ssh-keygen from the /chroot user BUT I receive a message PRNG is not seeded.

When I do it from any of the users that are not /chroot users, it works fine.

View 2 Replies View Related

Software :: Protecting A Multi-user Server - Per-user Limits

Feb 8, 2010

I'm looking for a way to limit:

-memory usage (mb/user)
-cpu usage
-processes (amount and no same process multiply)
-connections (amount of connections (to specific host))
-bandwidth (kbps/user and even owerall for regular users)
-disk usage
-available commands

For every other users than me/root.

View 1 Replies View Related

General :: How To Use Fork In My Programme

Aug 31, 2009

1) Write a C program using the fork() system call that that generates the Fibonacci sequence in the child process. The number of the sequence will be provided in the command line. For example, if 5 is provided, the first five numbers in the Fibonacci sequence will be output by the child process. Because the parent and child processes have their own copies of the data, it will be necessary for the child to output the sequence. Have the parent invoke the wait() call to wait for the child process to complete before exiting the program. Perform necessary error checking to ensure that a non-negative number is passed on the command line.

2) Repeat the preceding exercise, this time using the CreateProcess () in the Win32 API. In this instance, you will need to specify a separate program to be invoked from CreateProcess(). It is this separate program that will run as a child process outputting the Fibonacci sequence. Perform necessary error checking to ensure that a non-negative number is passed on the command line.i have done with Fibonacci sequence .but i dont know how to include tht fork() function and win32 api .any one can help to finish?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved