Server :: Total Free Allocated File Descriptors Always Zero

Jul 23, 2010

I have problem with free allocated file descriptors it's always zero!

View 2 Replies


ADVERTISEMENT

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 View Related

Programming :: Total Amount Of Allocated SHM Memory?

Aug 25, 2010

Is there an easy way in C to get the total amount of allocated SHM memory on a machine?

View 7 Replies View Related

Server :: Runing Out File Descriptors

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

Server :: Only One Allocated File Handles In Running System?

Apr 22, 2010

I just noticed that one of my blade server has such a abnormal running status.Historically, the three values in file-nr denoted the number of allocated file handles, the number of allocated but unused file handles, and the maximum number of file handles.But it's really strange to see low value for the first column.

View 2 Replies View Related

General :: Show Total Free Unpartitioned Space In A Hard Drive?

Mar 6, 2010

find out the total amount of free unused partition space in a hard drive?

reason:

-- when i use fdisk to create a new partition; its hard to tell how much free space is available.
-- tried searching the net but found no answers. some suggested using cfdisk.
-- i don't have cfdisk installed on the centos 5.3 server. i don't think its bundled in the distro any more.

View 3 Replies View Related

Ubuntu :: How Can Max File Descriptors Be Set

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

Red Hat :: Default File Descriptors

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

General :: File Descriptors With Pipes

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

General :: How Many File Descriptors Accessing A Given File

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

Software :: No Standard File Descriptors For Init

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

Red Hat / Fedora :: Any Limitation On Number Of File Descriptors That Can Be Opened

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

General :: Fork Behavior While Copying File Descriptors

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

General :: Program That Reads Multiple Pipes / File Descriptors And Writes To Standard Output

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

Server :: Java Uses More Than The Allocated Memory?

Aug 18, 2010

I am still confused about the memory issues. i have allocated JAVA_OPTS='-Djava.awt.headless=true -Xms512M -Xmx512M -XX:MaxPermSize=512M' think that it means that i have allocate java to use only 512mb of my memory. but when i run top here is my output.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15932 root 23 0 1495m 1.2g 3732 S 12.0 36.0 121:52.98 java
5070 postgres 15 0 55392 39m 35m R 11.6 1.2 0:51.61 postmaster

[code]....

View 6 Replies View Related

Programming :: Kernel Module - Task_struct / Files Struct, Open_fds, And The Open File Descriptors In Task?

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

Server :: Free File Hosting Service (User Pro-missions)

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

Server :: Like To Understand Linux 'free' Command With Respect To Cache And Free Memory

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

Programming :: Reading In A Outside Text File And Putting In The String On That Line Into A Char Array That Is Already Allocated?

Mar 29, 2011

Here is the issue. I am reading in a outside text file and putting in the string on that line into a char array that is already allocated.

Code:
int main(int argc, char *argv[])
{

[code]....

View 1 Replies View Related

Server :: Use System Monitor Via A VNC Connection The Free Disk Space Value Is 20GB Free On The Same Volume

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

General :: File Command + Total Retrun List?

Oct 30, 2010

With file command we can get the file type. File returns a unique answer for each file type. I want to get the total list that file can return for linux & solaris. For example, I have a partial list of file's return output. Unfortunately I can't see the total list from manual page.

ASCII C program text
ASCII C++ program text
ASCII C program text, with CRLF
ASCII C program text, with very
ASCII English text
ASCII English text, with CRLF line

[Code]...

View 1 Replies View Related

Server :: Find Total Apache Memory Usage?

Sep 12, 2010

Top only show the memory usage for individual processes. Apache often runs hundreds of processes, each of which may use only a small amount of memory, however the total memory consumed by all apache processes can be fairly large.Is there a way to see the total memory usage for all apache processes?

View 7 Replies View Related

Server :: Calculate The Total Amount Of Memory Used By The System?

Jul 15, 2010

I want to calculate the total amount of memory used by the system, Someone please confirm if the below formula is correct.Quote:

((memUsed-mebBuffers-memCached)*100)/memUsed => totalMemoryUsed%
Code:
free -o
total used free shared buffers cached
Mem: 8167004 8115292 51712 0 87680 1444676
Swap: 8388584 3252996 5135588
((8115292-87680-1444676)*100/8115292) => 81%

As per the above calculation 81% of memory is used.Is this correct? and if so Am I running out of memory?what is the limit in % that I should maintain for a better performance?

View 3 Replies View Related

General :: Recover Deleled Files On Server Using Total Commander?

May 6, 2011

I used Total Commander and connected FTP to write website. Today I accidently deleted some files. How to recover them?Recover using Total Commander or log in Putty? If using Putty, what commands are used to recover?

View 1 Replies View Related

OpenSUSE :: Empty The /tmp File Or Other File To Free Up Space?

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

Ubuntu :: Create Text File Which Lists Sales - Bash Script Shows Total Sales Of Each Month?

Mar 8, 2011

Firstly i'd like to introduce myself before I ask my question, i am currently studying a "Network Operating System 2" course, and in the syllabus the professor decided to use Ubuntu Linux for us. This is a first for me and I am truly greatly interested in the OS. It seems like a solid system once you get to know the deep foundations of it. The professor has already given us an assignment, but I feel its not fair as its just a bit too much from out of what he taught us .. He did not teach us what he is asking for. He asked us to create to a text file which lists the Sales from two Salespersons, and each one will have an amount for each month .. So 12 entries for each salesperson.

Using that text file, we should write a bash script which would read the values from the above text file, and produce a "Monthly Sales" text file, which shows the total sales of each month (combined from both the salespersons). I would like to ask for some guidance, some help on how to start. It's just that he didn't teach us any commands about this matter.

View 9 Replies View Related

OpenSUSE :: Which Free Instant Messenger Server & Email Server Is Best?

Apr 12, 2011

Looking for some advice and guidance please? Which free Instant Messaging server & Email server is best for SUSE 11.4?I have an office with a mix of approx 20+ Windows 7, Macs desktops, and we want to bring our email and instant messaging services/solution in house.Im technical, so am not afraid to dive in feet first, but being relatively new to Linux can anyone advise a good free product(s) which would work in this kind of setup bearing in mind the windows and mac desktops need compatible clients?

View 1 Replies View Related

OpenSUSE :: EXT4 Group Descriptors Corrupted

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

Hardware :: EXT3-fs: Group Descriptors Corrupted

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

Server :: FICS - Free Internet Chess Server

Sep 10, 2009

FICS, Free Internet Chess Server, I have been trying all day to achieve this in one way or another, so far no joy. All I want is a simple way so my frien and I can play chess over the net. So I looked at php scripts. Nothing suitable, that I could find. I'd like a nice web interface. My thought figure out how to "talk" to gnuchess or whatever an write some php to talk to it. Xboard, html style. (Is there one?) Or run my own private chess server.

View 1 Replies View Related







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