Server :: Takes Time To Release File Handles - Get Corrupted - Deleted Too
Aug 26, 2010
The app in linux server(CentOS 5.3) uses files from a mount directory(Shared windows directory in read only mode). At the same time, the same file might be edited by user in windows env. We were assuming that as the windows folders are mounted in read-only mode in linux so any change done by user in windows environment would be fail safe i.e. can be safely committed to the file. But when the file concurrently used both by Linux and as well by windows, at some point linux does not release the file handles and the files get corrupted(deleted too). Earlier we were using win2k server and this step was hardly reproducible and win2k was releasing file handles quickly. But with centos, we really had touch time managing files.
View 2 Replies
ADVERTISEMENT
Nov 16, 2010
In case that NFS client of fedora is set to cache nfs file handle, where is the cache stored such as /var/lib/nfs?If it's stored in memory instead of directory tree, what command can I know the combination of file names and file handles with?OS in my test environment: Fedora Core 6
View 2 Replies
View Related
Oct 13, 2009
I am running Centos 5.3. I ran no updates, performed no installs, nor changed any configuration immediately prior to this issue. My problem is this: when I run the command startx (default runlevel 3), it is a long time (5-10 minutes) before Gnome startx, and once it does start applications will not run. Also, when I try to use sudo (from any environment, even ssh), it is a long time (5-10) before the command is executed.
I cannot say for sure, but it seems like this is an intermittent problem. Sometimes X takes a long time to start, but once it starts it will launch programs. Sometimes X takes a long time to launch, but once it starts it will only launch certain programs. Though presently X always takes a long time to start, and I cannot successfully launch any programs.
A while back a had a similar problem to this (x taking long time to start, sudo taking long time to execute) and it ended up being a DNS problem. Unfortunately, I cannot remember exactly what it was and I stupidly did not document it. Maybe this is also DNS related, I don't know.
I don't know what log files to look at for problems with X, Gnome, and sudo taking a long time to start.
View 19 Replies
View Related
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
Dec 16, 2010
I'm using Sendmail 8.13.8 on a CentOS 5.5 vServer (Virtuozzo). I'm using a loop in PHP to send a lot of HTML-mails via sendmail. Each mail is a mail with individual statistics for our users, so its not mass mailing, bcc is not an option. It all works fine, but when I take a closer look there is a problem heading our way with a high number of mails: For each mail sendmail opens up 43 files. Sometimes these open files get closed again very fast, sometimes not.
Here is an example using the PHP-script below, it sends 20 mails in a loop:
[root]# php test-mail.php
START: number of open files: 2113
END: number of open files: 2973
This is the worst case. The number of open files (lsof | wc -l) used to send the 20 mails is 860 => 43 open files per mail. Sometimes the files are closed very fast, so I get results like this, too:
[root]# php test-mail.php
START: number of open files: 2113
END: number of open files: 2242
This shows 129 (3 * 43) open files, so the open files for 17 send mails are already closed, for 3 mails the 129 files are still open. In the worst case and with lots of mails our server crashes, the numfile limit of 8192 in user_beancounters is reached (our ISP won't give us more than 8192). Sendmail DeliveryMode is background. Could it be that sendmail tries to send lots ob mails asynchronously and uses 43 open files for each?
I'm only depending on sendmail to deliver the mails, normally I wouldn't dare to touch the sendmail config (like 'if you don't know what you're doing, don't!'). It is not a problem of PHP. I verified this by sending mails via SMTP localhost to sendmail (opened 43 files per mail) and sending mails via SMTP to an ISP-relay (did not open any files per mail). This is the code for test-mail.php:
PHP Code:
<?php
$output = shell_exec('lsof | wc -l');
echo "START: number of open files: $output";
// HTML message
$msg = '<html><head><title>Test mail</title></head><body><p>Mailbody</p></body></html>';
// Set 'Content-type'-header
$header = 'MIME-Version: 1.0' . " ";
$header .= 'Content-type: text/html; charset=iso-8859-1' . " ";
for($i=0; $i<20; $i++) {
// send mail, this opens up 43 files for each
mail('you@yourdomain.com', 'Testmail '.$i, $msg, $header, '-f
[email]bounce@yourdomain.com[/email]'); }
$output = shell_exec('lsof | wc -l');
echo "END: number of open files: $output"; ?>
View 3 Replies
View Related
Mar 6, 2010
It takes an awfully long time to delete a file when deleting it though one of the KDE programs, like kdevelop or konqueror file manager.
Deleting files with rm works fine. I suspect it has to do with KDE recycling bin mechanics which I know nothing about. I am running fluxbox wm if that matters.
View 7 Replies
View Related
May 6, 2010
I have a newly installed Kubuntu 10.04 running here, works fine except for one thing.
I have a kind of "fileserver" and it has a samba share that I have mounted in the home folder of my desktop computer ("/home/xxx/fileserver", the server is running an older version of Ubuntu, can't exactly remember what it is but the filesystem is ext2, if that's of any importance).
I have large files on the server, mostly video. When I use Dolphin (or Konqueror, doesn't make any difference) and right click one of these large files and choose Properties, it takes a LONG time to load the properties window. As if it copies the file to local hd before opening properties, or something.
The reason why I posted here and not in the networking section is, that I had the exact same setup with my previous installation which was Kubuntu 8.04, and also at least three different Ubuntu's before that. Never had this problem before, so I think my server and networking thingies are okay.
View 1 Replies
View Related
Mar 30, 2011
I am installing CentOS 5.5 64 bit on a HP ProLiant server. The server has a configuration of 2 TB(500x4) HDD and 8 GB RAM. RAID 5 is enabled and mirroring is also going on. I made 7 partitions. Those are:
/boot - 200MB
/ - 80GB
Swap - 20GB
/usr - 100GB
[code]...
The problem i am facing is it takes too much time to format 100GB partitions while installing packages (during installation).
View 2 Replies
View Related
Aug 19, 2009
I've setup vsftpd correctly and it's running fine with local users (in the same LAN). However, when remote users wanna login to the server, it takes more than 1 minute to get in. Users do can login from remote. It just took too long. (It prompted for the username and password very fast.) Since the server is behind a router, I did configure the port forwarding for TCP 20-21. The centos version is 5.3. The vsftpd is v2.0.5.
View 6 Replies
View Related
May 27, 2010
I am using KVM and created four guest Operating systems on it. The server host is Ubuntu 10.04.I am using 4 websites in a reverse proxy environment. One of our website is running on CentOS VM. Right now there is no traffic on the website static HTML pages. I do not have any clue as why it was taking longer time to be accessed.
View 17 Replies
View Related
May 24, 2011
It takes me a while to log in the splash screen just sits there for ages before i get to the desktop. Never used to be this slow and I'm not sure why. Firstly, I'm running Ubuntu 11.04, standard DE. I do have conky starting up in a script but it has the & at the end of the line so I didn't think this would cause it (or is there some special case for log in time on how & is treated?). However as a test I will comment out the line in the script and see if it is the cause.
However just for general knowledge and in case that isn't the problem, how does one go seeing what is happening during the time from when one log's in and the desktop is displayed? Is there some kind of log that shows the date/time that can be enabled or is there a debug mode that can be enabled somehow via special keys or maybe from grub?
View 8 Replies
View Related
Aug 23, 2011
I have a problem to gain my hardisk size after deleting a large amount of files. i have root partition size with 196 GB. actual used size in that partition is about 70GB, with command df -h, the used size 139GB. I have no idea to find out where is the hidden files. this happend after I delete the large amount of files because the hardisk almost full. the file i have deleted is almost 60 GB size.
View 3 Replies
View Related
Aug 5, 2010
I run whole batch of simulations and taking a lot of diskspace (8Gbytes). I have deleted them after examine the results. However, the diskspace remained the same even though i have deleted the files (rm -rf *). Sound like the program does not release the diskspace (maybe in cache or virtual memory? ). It only release the diskspace after i exit completely the program.
Is there a way to ask the program to release the diskspace without exit the program?
View 3 Replies
View Related
Jun 26, 2009
I want to install ubuntu to client machines. I tried to install using apache server.. I installed that well. and it is working well. i tested that.I did every configuration like this link [url]
But when i give the image server ip address to the image server. it promote a message says that release file cannot be download...
I dont know y i'm geting this error..
In that link there is image call netboot installer. i boot from that .iso am i correct or i didn't understand that thing.
View 2 Replies
View Related
Aug 9, 2009
I'm having a very strange problem. I use lampp on centOS linux. My application has a upload Script (in PHP) which uploads file to file system. after upload and moving file to correct location, uploaded files are getting deleted. I check file upload and moving of file by putting all the status in a text log file. files are getting uploaded properly and after upload I'm able to move the files to it's correct location.
View 1 Replies
View Related
May 26, 2010
I have installed Ubuntu 9.10 on my PC ie AMD Athlon x64 with 15 GB for (root) partition and 2 gb for Swap Space,with 1.2 GB of RAM,but after the successful installation its not displaying the GRUB immediately, taking 90-270 seconds to display? What might be the reason.? I have windows XP on my pc,even for booting into Win XP, one needs the GRUB display, its taking almost 90-180 Seconds to display the GRUB(sometimes more than that). But this thing never used to happen in previous versions of Ubuntu? Why only for this specific Ubuntu 9.10?
View 4 Replies
View Related
Jul 8, 2010
I am having a Ubuntu 10.04 server edition and I see a process plymouthd taking 95% of CPU what is that and how can I reduce it.
View 6 Replies
View Related
Jul 26, 2010
After I installed a new hard drive, when I booted up into Ubuntu, it would give me this error: "failed command: WRITE DMA". So I tried the workarounds and I guess it just covered the log with the Boot Splash, now it's taking a long time just to boot up.
View 9 Replies
View Related
Feb 23, 2010
I'm having trouble with Vim in any terminal emulator I use. I have a link (vi) to vim. Occasionally it will take very long to load, whether I use 'vi' or 'vi file'. Before, if I could I would restart X, and then it would load instantly again, but I waited this time and it did load, after a minute or so. Is this a problem with X or vim?
View 9 Replies
View Related
Jun 13, 2010
My DVD drive start working bad recently in KDE 4.4.3 - openSUSE Forums , but this is another very annoying thing happening in my openSUSE box. I have several flash drives, from several sizes and all have the same problem: When I plug them, the drive simply takes a LOT of time mounting and showing the data, but really, a LOT, and meanwhile the flash light blinks the desktop environment its FREEZE, until it shows the mounted drive. Some output from a recently plug that takes again a lot of time:
Code:
[ 4685.082027] usb 1-6: new high speed USB device using ehci_hcd and address 5
[ 4685.579461] usb 1-6: New USB device found, idVendor=0325, idProduct=ac02
[ 4685.579480] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[code]...
View 2 Replies
View Related
Oct 27, 2010
i have just installed opensuse 11.3 on a pc which was once a Windows XP,the configuration for opensuse installation well everything is good.The problem is when i switch off or reboot the pc,.at the 1er black screen where u see the 'boot' its says
Verifying DMI Pool Data........Update Success
(take 2mins almost then)
GRUB Loading stage 2......
(takes up to 10mins or more)
then i got this:
root (hd0,1)
Filesystem type is ext2fs,partition type 0x85
kernel /boot/vmlinuz -2.6.34.7-0.4-desktop root=/dev/disk/by-id/ata-HDS728080PL
[code]....
View 2 Replies
View Related
Jul 25, 2010
I have an Acer Aspire 1810TZ laptop with Windows 7 on it. I decided to dual boot w/ Ubuntu 10.04 32-bit Lucid Lynx. I was initially getting this issue
Code:
gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline)
[code]....
View 1 Replies
View Related
Sep 28, 2010
I am using ubuntu os with 2Mbps link. I'll do scp to the ubuntu cloud servers to copy the .war file which is of 14MB. Before it takes only 2 mins to copy this war file under /tmp of cloud server. Now it takes more than 15 mins. While doing scp it is stalled and restarts again. the scp process may look like below app1.war 15% 2320KB 61.3KB/s - stalled -^
View 2 Replies
View Related
Mar 26, 2011
I don't know exactly how it started. It was working pretty well.Before I notice the OSD was messed up, I had disabled Compiz (to test some game) and I've been goofing around with the Awn Dock, moving it around the corners of the screen. Not sure what caused it to bug. I've tried restarting the machine, "sudo apt-get remove notify-osd" and "apt-get install..",I've tried changing system fonts..
What should I do to 'reset' it, or something?I'll be trying to fix it on my own over here. I'll post back if I get any luck at it.Completely disabling Compiz (Desktop Effects OFF) renders this:Doesn't look right.The first picture was taken with Compiz enabled.
View 9 Replies
View Related
May 11, 2011
After upgrading to a 64-bit Ubuntu 11.04, I have found that it takes a lot longer to open any browsers such as Firefox, Google Chrome or Opera. Does anyone know why? I thought 64 bit Ubuntu should be faster than the 32 bit version. Nevertheless, I see no difference besides the browser problem mentioned above.
View 9 Replies
View Related
Jan 5, 2010
I'm running Ubuntu 9.10 and Windows XP on my system. After installing Ubuntu, it boots normally about once, and then the next time I try to boot, I have to wait a few minutes with it saying "GRUB Loading." I have read other threads about this that say that it is clearly a GRUB2 problem, and something about Windows overwriting something with the MBR; although I haven't booted into windows once in the process of installing Ubuntu (multiple times) or afterward. GRUB version 1.97~beta4.
View 10 Replies
View Related
Jun 1, 2010
I installed ubuntu 10.04. After logging in,it's taking time to load the gnome menus.
View 1 Replies
View Related
Mar 25, 2010
Since recently statd at the boot time takes, more then 30s or even more.
It is laptop configuration, no NFS server(?) lenny with few installs from backports (open office and .30 kernel - for Intel 5300) vmwware (7), as well firestarter firewall
Can I disable it or change the boot order (via sysv-rc-conf ), so I can speed up my boot time?
View 2 Replies
View Related
Feb 6, 2010
When I log into an Xfce session, the splash screen indicates the "starting window manager" step with a busy cursor for about 10 seconds or more. Mind you this is a 2.8 GHz Core 2 Duo machine.I have tried logging out, mv-ing ~/.config/xfce4 from a tty console, and logging back in, but the problem persists.I am running Xfce 4.6.1.3 from squeeze.
View 14 Replies
View Related
Jun 21, 2010
Firefox take so long more that 2 min when started and there is no internet is available (i.e. Ethernet cable is unplugged).
I think FF is looking for the connection. How can I make FF ignores this check.
I need this because sometime I am away from my networks and I need FF for local testing for web development.
I am using Ubuntu 10.4
View 7 Replies
View Related