File/Command To Change Number Of Open Files In Linux

Aug 22, 2009

I can't seem to remember, but what's that command or file used in Linux so that you can view/adjust the number of open files and others in the system?

View 3 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Cannot Limit Number Of Backup Files

Oct 30, 2014

I'm running Plesk v12.0.18 #22 on Ubuntu 12.04.

In the plesk backup-settings I've set the max. number of backup-files to 5.

Actually Plesk doesn't limit the number of backups stored in the local repository.

So unfortunately the partition is running out of space.

What can be done to solve that problem?

View 1 Replies View Related

Linux Command To Check New Files

May 29, 2008

what command to type if I want to check all latest files (edited/saved) on a certain folder?

View 2 Replies View Related

Plesk 12.x / Linux :: RoundCube - Unable To Open Default Rule File

Jun 6, 2015

On attempting to select the configuration->filter option on RoundCube, we got the error message:

SERVICE CURRENTLY NOT AVAILABLE!
Error No. [501]

On /var/log/plesk-roundcube/errors we can see the following logs:

[06-Jun-2015 14:57:17 -0300]: PHP Error: SieveRules plugin: Unable to open default rule file in /usr/share/psa-roundcube/plugins/sieverules/sieverules.php on line 1523 (GET /roundcube/?_task=settings&_action=plugin.sieverules)
...
[06-Jun-2015 14:57:17 -0300]: PHP Error: SieveRules plugin: Unable to open example rule file in /usr/share/psa-roundcube/plugins/sieverules/sieverules.php on line 1560 (GET /roundcube/?_task=settings&_action=plugin.sieverules)
...
[06-Jun-2015 14:57:17 -0300]: PHP Error: Error loading template for sieverules.sieverules in /usr/share/psa-roundcube/program/include/rcmail_output_html.php on line 496 (GET /roundcube/?_task=settings&_action=plugin.sieverules)

View 1 Replies View Related

Links Files In Linux (file.txt For File.php)

Jul 9, 2007

Today I found some cstomer on the servers make a link for named it file.txt and link it to other customer php file.

so that customer have the ability to show the other custoer file content when visiting the url because it is a text wile originally it is a php file.

the php file was a config file, so now he know the database password , and because he is in the same server he can use that databse.

the question , how to avoide this prolem in the future?

notes , the SuExec is rnning and the open_basedir protection is enabled, but the problem still exists.

View 12 Replies View Related

Change File Name In Linux

Jul 29, 2009

I have a file and i need to change this file name.

But its have space now.

Its: My File Name.tar.gz

How can change this file name to: My-File-Name.tar.gz

View 2 Replies View Related

Plesk 12.x / Linux :: Cannot Change User File

Jan 19, 2015

We have a website under httpdocs/. We can change/delete files with a ftp user : "ftpold". All is ok. We must create another ftp access for another company which can access only to httpdocs directory (not to logs/, error_docs/...).

So we have create a ftp access in Plesk. But with this ftp connexion, we can not update/delete files ou update rights.

So we decide to change rights on the files/directories under httpdocs with the new ftp access :

httpdocs# chown -R ftpnewsacln *

The is no errors but the files:directories are always with the old ftp user :

httpdocs# ls -l
ftpold psacln ... libs/
ftpold pscln ... index.php

Why ? How can i create another ftp access ?

View 3 Replies View Related

Ffmpeg :: Cannot Open Shared Object File: No Such File Or Directory In Unknown On Line 0

Mar 6, 2008

Rapidly growing error logs showing the same message

$ug-non-zts-20020429/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0

root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*
root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*

Using cpanel 11 / centos 4

View 1 Replies View Related

Plesk 11.x / Windows :: Large Number Of Domains - Change Vhost Manually

Jul 9, 2014

I have somewhere at 2000 domains.

I need to change path to vhost from W:host to D:vhost

I copied all files from W to D drive and created symbollinks. Now all files stored in D:vhost and symbollincs pointing to W:vhost.

If I will use reconfigurator, will it recopy existing files or just will skip them? Because I have millions files in my vhost dir

Also i thought about change drive letter in windows OS. It wil be enough to just stop IIS service and plesk services for switching disk letter?

Can i just some how say plesk that he should search all vhost files in D:vhost? With out process of copying files,becouse thay already exist there are.

View 2 Replies View Related

Any Hosting Without File Number Restrictions

Apr 21, 2009

Is there any hosting providers without file number limits? Or higher limits...

I've been using dreamhost, but found that they have a 500k file number limits. So now i'm using less than 2 gigs of disk and still have 370+ worthless free gigs of disk space

View 14 Replies View Related

Daily Backup + Rsync Ssh + Large Number Of Files

Oct 29, 2006

i just wana know is it safe to do remote daily backup for about 70,000 files?

file sizes is about 200kb and every day i have about 1000 new file, so rsync first should check old files becouse i am deleting about 30-50 of them daily and them backup new 1000 files ,
so how much it will take every time to compare that 70,000 files?

i have 2 option now:

1-using second hdd and raid 1
2-using rsync and backuping to my second server , so i can save about $70 each month.

View 9 Replies View Related

Mysql Too Many Open Files

Nov 2, 2009

Basically mysql is behaving very very intermittently. Crashes were every 4 hours, I've brought them down to once every 8 or so hours but mysql keeps dying.

the error log will show the same routine each time.

on mysql start:

Quote:

091101 21:58:03 [Warning] option 'open_files_limit': unsigned value 120000 adjusted to 65535
091101 21:58:03 [Warning] Could not increase number of max_open_files to more than 65535 (request: 200110)
091101 21:58:03 [Note] /usr/sbin/mysqld: ready for connections.

Then we'll see errors due to crashed databases:

Quote:

091102 0:33:07 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './<nameofdatabase.frm>'

following this a heap of:

Quote:

091102 0:36:35 [ERROR] /usr/sbin/mysqld: Can't open file: '>another database here.frm>
091102 0:36:36 [ERROR] /usr/sbin/mysqld: Sort aborted
091102 0:36:52 [ERROR] /usr/sbin/mysqld: Sort aborted
091102 0:43:00 [ERROR] Error in accept: Too many open files

View 14 Replies View Related

Mysql Open Files Limit

Jun 30, 2009

I been having a heck of a time just with this one cpanel server and open files limit. At first using open_files_limit did not work so I changed it to open-files-limit that seemed to work but now it rejects the value and sets its down to 65535.

Then system open files limit is 500000. I try to set it to any value about 65535 in my.cnf and here is usual error:

090630 9:32:07 [Warning] option 'open_files_limit': unsigned value 120510 adjusted to 65535
090630 9:32:07 [Warning] option 'open_files_limit': unsigned value 120510 adjusted to 65535

When I run something like the tuning-primer it shows:

Current open_files_limit = 120510 files

The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.

Your open_files_limit value seems to be fine

But Im not sure if it is just reading my.cnf or something. I am still getting complaints from users about lost connections and I see the errors in error log. Ive looked everywhere and cant seem to find a solution to this.

View 7 Replies View Related

Disk Quota Issue - Locating The Folders With The Highest Number Of Files

Jun 6, 2008

we've been having issues with reaching or exceeding our disk quotas. I've checked carefully, and while I've cleared our mail queue's, I don't think that's the issue.

So what I'm really looking for is a way to figure out why we have so many files (our quota is 220000, and I'm pretty confident that we aren't intentionally doing anything to create so many files). There's lots of information on finding the folders with the largest file sizes, but locating the folders with the greatest number of files isn't quite so simple--or at least, it doesn't seem very clear to me.

Does anyone know a way via the command line to figure out this information, short of going through every single folder and figuring out how many files are in the specific folder?

View 6 Replies View Related

Using Find Command With Regex To Find All Number-only Filenames

Oct 15, 2007

how can i do a search for all files (probs using regex) of files consisting purely of numbers?

for e.g. find:

53243.php
24353.php
24098.php

(always have 5 numbers).

seems one of my accounts has had some script run which generated a bunch of these in various subfolders, and the php file basically does a callback to www3.rssnews.ws and www3.xmldata.info, which seem to be some sort of spyware servers.

View 10 Replies View Related

SSH File Failed To Open

Feb 3, 2007

i can't enter to the SSH secure file transfer and show me that msg':

Failed to open a secure file transfer session
Most likely the sftp-server is not in the path of user on the server-side

View 2 Replies View Related

Apache :: Unable To Open Or Move Log Files

Dec 4, 2012

We have three virtual hosts on our Apache 2.2 installation on Windows Server 2003. For some reason, I'm unable to open log files (error.log and each virtual hosts-specific log), even though I have full administrator rights. (The log folder is full access to admins.) Every time I try to open the file or even copy it to another location, it just says "Access Denied." I temporarily solved the issue for one of the logs by adding BufferedLogs On

View 1 Replies View Related

How To : Change ( Wget ) Command In Your Server

Jun 21, 2007

Most popular way of downloading these scripts is to use "wget" comman

when we need to change the command wget in our server for download some destructive script and run it through some server side program such as PHP or PERL ...

now i try to start this session by this command ...

PHP Code:

pico /usr/bin/wget 

it's show me like this!

PHP Code:

?ELF^A^A^A^@^@^@^@^@^@^@^@^@^B^@^C^@^A^@^@^@^&#65533;¡^D^H4^@^@^@ u^C^@^@^@^@^@4^@ ^@^H^@(^@^[^@^Z^@^F^@^@^@4^@^@^@4^&#65533;^D^H4^&#65533;^D^H^$^@^@^@^&#1591;^@^@^@^Û^@^@^@c^@^@^@C^@^@^@^@^@^@^@^@^@^@^@^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@$^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^E^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@  ^@^@$^@^@^@P&#1575;^G^H^@^@^@^@^Q^@ø&#65533;^É^D^@^@^@^@^@^@Æ^@^@^@^R^@^@^@^È^E^@^@^@^@^@^@v^@^@^@^R^@^@^@Û^A^@^@^@^@^@^@&^@^@^@^R^@^@^@^O^E^@$^@I^F^@^@^@^@^@^@<^@^@^@^R^@^@^@^A^E^@^@^@^@^@^@~^A^@^@^R^@^@^@&#1589;^G^@^@^@^@^@^@1^@^@^@^R^@^@^@ñ^@^@^@^@^@^@^@ð^C^@^@^R^@^@^@r$^@^@^@^R^@^@^@A^G^@^@^@^@^@^@M^@^@^@^R^@^@^@^&#1589;^D^@^@^@^@^@^@E^@^@^@^R^@^@^@&#65533;^D^@^@^@^@^@^@=^A^@^@^R^@^@^@Ç^@^@^@^@^@^@^@J^@^$^@&#1588;^D^@^@^@^@^@^@'^@^@^@^R^@^@^@y^D^@^@^@^@^@^@^Z^A^@^@^R^@^@^@^_^F^@^@^@^@^ 

now how can i change this command ? or change anything in this file ( wget ) ...

View 14 Replies View Related

Command To Change Group Ownerships

Apr 30, 2007

I have this command to change "user" ownerships from "owner" to "owner2".

find ./ -user owner -exec chown owner2 {} ;

Is there a similar command for GROUP ownership or even better, a combined command?

View 5 Replies View Related

Unable To Open Pty: No Such File Or Directory

Jun 1, 2009

MY VPS IS DOWN.

i have this error on concole on hypervm

enter into CT 1820 failed

Unable to open pty: No such file or directory

View 8 Replies View Related

Unable To Open Pty: No Such File Or Directory

Jun 20, 2008

I have following error when try to login in my vps, how can resolve this issue?

Code:

Last login: Thu Jun 19 21:00:43 2008 from xxx.xxx.xxx.xxx

ALERT! You are entering a secured area! Your IP and login information
have been recorded. System administration has been notified.
This system is restricted to authorized access only. All activities on
this system are recorded and logged. Unauthorized access will be fully
investigated and reported to the appropriate law enforcement agencies.

enter into VE 270 failed

Unable to open pty: No such file or directory.

View 3 Replies View Related

Mysql Open File Limit

Aug 14, 2008

I am trying to increase my open file limit on my CentOS release 4.6 VPS.

I have tried modifying my /etc/security/limits.conf with the following:
@mysql soft nofile 4096
@mysql hard nofile 4096
@mysql soft sigpending 4096
@mysql hard sigpending 4096

Even is a mannual set it with "ulimit -n 4096 mysql" it will not stick.

Any ideas what I can do to get this limit increased permanently?

View 7 Replies View Related

How To Increase Open Files Limit In Apache In Cpanel

Jul 14, 2008

How to increase the Open Files limits descriptor in Apache. In the earlier version of Cpanel, we had an option of Raise FD Size Limit to 16384, but the option no longer appear while rebuilding Apache. What is the way to do it and make the change permanent?

View 2 Replies View Related

Too Many Open Files: Couldn't Spawn Child Process

Oct 25, 2008

"Too many open files: couldn't spawn child process"


"Too many open files: couldn't spawn child process". This is what I see in the logs.

I have a CGI application which I can't run anymore because it is giving me a 500 Internal Server Error.

Would disabling the logging on all domains solve this issue? (thinking that too many log files are opened)

I did: cat /proc/sys/fs/file-max and in return I got: 372235.

Then I did echo 350000 > /proc/sys/fs/file-max*, because I thought I have file system limitation or something like that.

The problem starts even right after I reboot the server.

If I hit lsof a lot of files are shown.

The server load is tiny so nothing actually happens.

Would editing the httpd.conf or my.cnf files help ? Should I post the prefork and MPM settings here?

What else should I do to have my CGI application running again?

View 12 Replies View Related

RSYNC / Windows 2003 & Vista / Open Files

Jun 28, 2007

Does anybody know how I can force RSYNC to backup open files on Windows 2003 Standard and Vista Ultimate?

View 4 Replies View Related

None:0: Open: /etc/named.conf: File Not Found

Dec 5, 2008

none:0: open: /etc/named.conf: file not found

i had install cpanel on Cent Os 5 on a VPS
Cpanel Correctly Running but named does not working !
i try to restart named but it say :
root@server [/etc]# service named restart
Stopping named: [ OK ]
Starting named:
Error in named configuration:
none:0: open: /etc/named.conf: file not found
[FAILED]

View 5 Replies View Related

Apache :: OpenSSL - Cannot Open Config File

Feb 24, 2015

c:Apache24bin>openssl.exe

WARNING: can't open config file: c:/openssl-1.0.1e-X64/ssl/openssl.cnf

OpenSSL>

View 1 Replies View Related







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