Software :: Free File Descriptors Constantly Zero
May 24, 2010
I am using sabayon 5 - 32bit OS. I experience dullness and sluggish performance now and then.So number of free file descriptors is constantly zero , checked by utilising a while loop sleeping for 5 secs.would this be the root cause of the sluggishness I face in accessing application (media player)Also USB transfer is very very slow and sometimes it gets stuck
View 1 Replies
ADVERTISEMENT
Jul 23, 2010
I have problem with free allocated file descriptors it's always zero!
View 2 Replies
View Related
Jun 24, 2010
I'm using ubuntu 10.04 64bit server edition running a small dev server. What's happning though is that my one ext4 filesystems reports the wrong amount of free blocks. This is what fsck reports
Code:
fsck -n /dev/sda1
fsck from util-linux-ng 2.17.2
[code]....
View 6 Replies
View Related
Jan 14, 2010
I have run into a limit of 1024 file descriptors. I have searched a lot and have tried various solutions.How can the max file descriptors be set in Ubuntu?
View 1 Replies
View Related
Sep 2, 2009
Can someone please tell me how to permanently increase the default file descriptors limit on RHEL4?right now ulimit -n is 1024...I'd like to increase it to around 10000
View 1 Replies
View Related
Jun 4, 2010
File descriptors with pipes-Can someone help me with this three situations, what would happen?
a) a process open the same file twice and read through two file descriptors
b) a process does fork and both parent- and child-processes read parallell
c) two processes opens and read from same file.
View 5 Replies
View Related
Nov 9, 2010
Its my Friend Problem .any one can tells that how can the file descriptors limits can be raise for the squid. In cache.log running out of file descriptors warning is coming.
View 3 Replies
View Related
Nov 28, 2010
On linux, is there a way to count the number of file descriptors open to a some file?
View 1 Replies
View Related
Jan 10, 2011
I have a weird problem with one of my servers. When system is booted and right before I should se "INIT 2.86 starting..." message, all the messages disappear. Only kernel messages get logged to console and later login prompt, but nothing in betweek (there are 20+ services starting successfully, just without emitting a single character).I checked /proc/PID/fd of the boot script (in my case called /etc/rc.d/rc.boot but that does not matter).
The only significant difference in hardware to other servers is that this one runs RV350 AP [Radeon 9600] graphic card.Now, my question is: where could those FDs go or why are they not opened?Does anyone have a clue about this, or a hint?
View 5 Replies
View Related
Dec 23, 2008
Is there any limitation on the number of file descriptors that can be opened. If yes how to find the maximum number of file descriptors that can be opened at a time.
View 2 Replies
View Related
Jun 17, 2010
I am quite confused about the following description on fork. Could you please explain it ?The child process shall have its own copy of the parent's file descriptors. Each of the child's file descriptors shall refer to the same open file description with the corresponding file descriptor of the parent.For example, I am opening a socket and then fork. Now, does the child have a separate socket or is shares it with the parent. Does I have any impact on using it in child?
View 2 Replies
View Related
Feb 23, 2011
Is there already a program that reads multiple pipes or file descriptors and writes to the standard output (not splitting lines).Like cat, but reading all files simultaneously and preserving lines.It is needed to avoid coding of select/epoll loops or using multithreading in simple programs. Like "select loop for bash".
View 1 Replies
View Related
May 1, 2010
This for Kernel 2.6.29.6. I'm trying to code a kernel module that displays process information.
how to count opened file descriptors per task. I have been able to write a module that lists all the current process names along with their pid number in /var/log/messages. Basically, I cycle through the ring of processes using the macro for_each_process(task) and printk the comm and pid of each task. I'm trying to see how many file descriptors each task has open. I've been reading up in books and all over the internet. At first I thought I needed to access max_fds under files_struct, but that just lists the maximum number of file descriptors that can be opened per task, which by default is set at 256. I then thought about counting the elements in the fd_array. But then I learned that every task's fd_array is initially set at 32. Now I know that I need to access open_fds of type fd_set * in files_struct. open_fds is a pointer to all the open file descriptors. The problem is that I don't know how to access a pointer of type fd_set.
Is there a good guide or book that really focuses on type fd_set and open_fds? Every book and resource I've read never really go into depth on this. relationship between files struct, open_fds, and the open file descriptors in task?
View 4 Replies
View Related
Mar 23, 2010
I've noticed that when I run:
davek@linux-kw2x:~> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 20641788 8427780 11165368 44% /
udev 961204 192 961012 1% /dev
/dev/sda3 217642344 4037944 202548468 2% /home
davek@linux-kw2x:~>
I have 44% used. It should be much smaller, under 10%. How do I empty the /tmp file or other file to free up space?
View 9 Replies
View Related
Aug 27, 2011
I have 2 computers on the same network that i need to link together to transfer files 1 is a web server the other is a minecraft server. the problem is that the file transfer will be constant as the minecraft server will constantly updates files on the web server and I dont want it to go to the router then to come back to the web server. I want to add a second network card to each computer and link them together and use this second connection to transfer the files is it possible?
View 2 Replies
View Related
Jul 19, 2011
I have a second HD partitioned and formated to EXT4, the whole capacity. It was mounted to a directory in my home folder I'm getting an error that it cannot be mounted.
Running "dmesg | tail" i get this: (rigt now the HD is connected to the computer using a USB adaptor)
Code:
laptop:~> dmesg | tail
[ 375.821495] sd 9:0:0:0: [sdb] Write Protect is off
[ 375.821505] sd 9:0:0:0: [sdb] Mode Sense: 00 38 00 00
[ 375.821512] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[code].....
View 9 Replies
View Related
Jan 31, 2010
i have an external harddrive, hooked up by usb. /dev/sdb it came as a fat drive (sdb1). when i realized, i had copied 250 gb to it already. so, i made a new ext3 (sdb2) partition, copied the data from the fat to ext3, and then deleted the fat drive and moved the ext3 it with gparted. it mounted fine after it was moved, but after i tried to resize it, which didn't work, it will not mount.
[Code]....
View 1 Replies
View Related
Mar 27, 2010
Was wondering if anyone can explain briefly the relationship of "cache" and free memory in the "free" memory command.
View 2 Replies
View Related
Jun 16, 2010
During playing around sources, synaptic playing I messed up the default list. I know I should have been more careful. Anyways could someone tell me what the default the default sources.list that has free and non free etc for squueze please? I have been trying to get the default list but I cannot find it anywhere. There are alot of lists out there but nothing tagged like the "default" list.
View 6 Replies
View Related
May 18, 2011
I've got a question on free disk space. I'm currently running CentOS 5.5 on in Xenserver virtual environment. We've had an issue with disk space. My question is as follows: - from a ssh connection i run df -h this gives the value of 90% used leaving me with 9GB. If I use system monitor via a VNC connection the free disk space value is 20GB free on the same volume. Which one is correct? I do use SNMP to monitor the same volume and should alert me when < 10% is free I know this works as I set the alert threshold to < 90% I get an alert.
View 2 Replies
View Related
Feb 17, 2011
In trying to solve a friend's lack of foresight, i have currently disabled my system.
I was using dd_rescue to make a copy of a drive with a corrupt and unfixable Partition Table. I was a fool, and had a drive mounted to /media/Storage, but ran the backup to /media/storage.
Thus, dd_rescue completely filled my primary drive before informing me that there was a problem.
I don't really trust myself with command line work, so I foolishly sudo'ed nautilus and deleted the folder /media/storage.
Unfortunately, I didn't realize it, but the available space on the drive still read 0bytes.
I tried Terminal work to do a sudo apt-get clean command, but for some inane reason, the laptop screen won't support the display setting for the Terminal login, so I just had to hope that I was doing it right.
I wasn't, and decided to try working from a Live CD so I could see what I was doing.
the folder /root/.Trash/ doesn't exist on Ubuntu's install drive, and I can't figure out why the properties of the drive say "contents: 241310 files, 3.7 GB" but also "Total capacity: 52.8 GB. Free space: 0 bytes"
Any suggestions on how I can get this to shake out?
View 3 Replies
View Related
Apr 11, 2011
I have been working on a free file hosting service. So far its only been for family and friends. Right now I have is open to them off a no-ip free. I have around 20 people using it and around 2GB used space. Whats the simplest way to use add a domain and not mysite.no-ip.biz? And make it mydomain.com? What would I need to run it for around 85-100 people?? Min computer specifications & what ever else I would need to make it work correctly. How would I make this more secure I'm using user pro-missions? What is the best software to use. I need to too be user friendly?
View 1 Replies
View Related
Dec 7, 2009
I have decided that my partition table does not meet my needs Barrymore, and I want to shrink the "/" partition by 80GB, and then create another file system on that space. I did some research on-line, and I'm not sure which way is the easiest and more secure way to perform the change with out putting the "/" file system on risk.
View 1 Replies
View Related
Jan 28, 2011
I've just installed Fedora 14 64bit and would like to add new repositories. I read here to do the following command (which as you can see doesn't works) :
Code:
$ su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
[code]....
View 12 Replies
View Related
Jan 28, 2011
I have installed F14 yesterday but i can not install rpmfusion repository, the problem is that i can not access the url [URL] so i cant download the files:
rpmfusion-free-release-stable.noarch.rpm
rpmfusion-nonfree-release-stable.noarch.rpm
View 6 Replies
View Related
Jun 10, 2010
Am I asking too much for a FREE OS? Everybody spend their precious time to help others, that's very helpful.But it seems like there is no support from UBUNTU team,how could we even get through the barrier of not using Microsoft's OSes? No free lunch of course, but it seems to me some issues have never really been solved.I read lot's of people have problem with their WIFI, not just for my OLD USB wifi adapter. I don't have problem with WIFI in XP/Server.
I posted here and there, and seems like no answer, and I do not get any reply from UBUNTU support team,forgive me if I run out of google's keywords.I just need a simple answer, is my WIFI going to work in UBUNTU with a layman effort? I like linux and UBUNTU had put great effort in providing me such a great OS, but if a basic internet connection will need to spent sooo much time to setup, and it still doesn't work. IS IT WORTH to switch to UBUNTU at all
View 2 Replies
View Related
Feb 2, 2011
I am trying to create an empty file based on the remaining hard disk space. The problem is that when I create a file that is 1 GB large, the df command shows the remaining space to be only 12 kb smaller than it was before the file was created.
someone@here:/tmp/delete# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 36827144 5031592 29924788 15% /
[code]....
View 2 Replies
View Related
Jul 25, 2010
I have 160gb laptop. i installed vista in c primary partition which is 25gb and installed ubuntu in d primary partition which is 20gb. A remainig for my data. Now i tried to install CENT OS by formatting ubuntu. I inserted CENT OS DVD and restarted and i selected to delete my /dev/sda2 which is showing 20480mb and it shown me free space. but i tried to add partion /boot of 100mb it got added. but, when i am trying to add / of 3000mb in the remaining 20380mb free space it showing an error message that no free space is available.
View 4 Replies
View Related
Jan 29, 2010
Here is the code, which just creates a dynamic array? fills it? and prints.
At the end-point? when doing 'free(digits);' I get a debug messge. But the programm continues to work, or it crashes only on free?
How do I need to change the source-code, not to recieve a message from debugger?
View 6 Replies
View Related
May 4, 2011
I need to check the free available size on the "/root" before creating a file .
Can i do it by using df?if not , can you specify me which one to use?
View 1 Replies
View Related