Proc List Only Shows "/usr/bin/php" - No More File Names
Jan 8, 2008
We use cpanel on our centos servers and we've updated our servers recently using easyapache to the latest php4 and mod_suphp and I've noticed that in top (running "top c" in shell) all php processes by any user are simply displayed as "/usr/bin/php"
Before this update the processes also showed the file name eg. "/usr/bin/php lamescript.php" which allowed to easily find troublesome scripts ... but now there's no way of knowing what the script in question is that's eating up 100% of the cpu .. or is there?
Are there any web hosts that allow spaces in file names?
I am building a web site using Adobe GoLive. It contains many photo galleries using Adobe Photoshop CS3 (Adobe Media Gallery). When I upload a test site to my domain hosted by Yahoo using SmartFTP, it is rejected because the file names of my photos contain spaces. See <hayesphotos.biz> When I look at other photographers' sites, many use real world file names with spaces. I have inquired at two other large web hosts and they tell me that spaces will appear on their sites as "%20". My test site looks fine when previewed on my web browser with spaces. Their answer is to use underscores. Am I asking too much for a web host that allows file names in english?
I have a spider that is saving a few images files everyday on my servers. Due to the fact that the images are dynamically created the spider is not only saving them without an extention, but also using charachters from the link to create those file names.
I end up with:
0&Y=0 1&Y=0 2&Y=0 3&Y=0 .... and so on.
(there is no problems browsing those image files
What I need is to copy those files or move them to file names with an extention (png) for protection reasons.
I failed using cp, mv in doing so. it seams that the OS doesn't see those files as files.
There are some Download Manager Programs that have a option like Find alternate URLs through mirror list file when giving a file for downloading. Where can I insert such a file in my site so that download programs can add other mirrors to it from my list of mirrors?
After enabling File Sharing in Plesk 12, the service appears to function correctly. If only a few files are uploaded, they are ok. However, after uploading a directory structure with a handful of MB, and subdirectories, File Sharing stops. It shows at the top of the screen:
"Internal error: The File Sharing service is temporarily unavailable because the site is down for maintenance."
it also says in the main window:
"Unable to load folders list."
Clicking on Upload Files, that dialog also shows "Unable to load folders list."
I have checked that the ownership of those files on the server is www-data:www-data , and that permissions are 755 for directories and 644 for files, because it seems like ownership and permissions could be an issue, however that doesn't fix it. Removing all the files in the share does fix it, however that's not useful if the files should be available for sharing.
Code: processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 6 model name : Intel(R) Pentium(R) D CPU 3.40GHz stepping : 5 cpu MHz : 3392.618 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 6 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov$ bogomips : 6788.78
processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 6 model name : Intel(R) Pentium(R) D CPU 3.40GHz stepping : 5 cpu MHz : 3392.618 cache size : 2048 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 6 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov$ bogomips : 6782.22
I see that there is clearly 2 processors. However, in the section for each processor it says cpu cores :2. Does that make this a dual core dual processor (4 cores)? I also see a core ID, which makes me think possibly it is just 1 processor with 2 cores.
I have a server with RHEL 5 installed. The problem is that the server shows the output of the hostname command as (none). I checked the /etc/sysconfig/network file and it shows the correct hostname. I also tried to change the hostname in the /etc/sysconfig/network file and restart the server. But hostname command still shows (none).
I am running into a few problems when it comes to using the above command. No it is not being blocked in the php.ini file. The issue has to do with permissions. On my old server everything worked fine until I moved over to this new server.
$who = shell_exec("whoami"); echo "$who";
When I run that commend on the old server I got that users username. Which, makes since as that means anything created via PHP would be owned by that user. In fact, every other host I know of was like that. But, on the new server when I run the commend it shows up as "nobody". How can I fix this so my commands will run properly for me and my users?
Is there a list somewhere of what the various hostnames one sees when running a traceroute?
Some are obvious, but quite a few aren't.
I come across car1 and car2 a lot, but can't quite figure those out.
(Example: gigabitethernet6-24.car2.bos1.Level3.net -- the "gigabitethernet" is obvious, as is bos1 (Boston). But car2? And it shows up towards the other end: ae-31-89.car1.Washington1.Level3.net. (Bonus: what's the "ae" at the start denoting?)
csw, ebr, mpr, and ash are all common followed by a single number, too. (pos and tge show up on RCN a lot.) cr, dcr, ecr, hr on Savvis?
In my search for a good web host, I noticed that many of them have names of predators. For example: HostMonster, HostGator, HawkHost, HostHyena, etc. etc.
what's so special about web hosting that it makes their owners give names like this?
I got abc.com and xyz.com websites hosted on my dedicated server with whm control panel.
abc is my dev site and xyz is my current running live site. Now my dev site is done and I like to launch without uploading files to xyz.com. Both sites are on same server.
So, I am thinking to rename xyz.com to nonexisting.com in whm (site will down at that time). After that, rename abc.com to xyz.com. In order to rename site names, I have to use Main >> Account Functions >> Modify an Account , and edit domain name>>save.
if this is going to work for everything including email settings, ftp etc...
.CN - Domain names for China (irist.com), is now just $12.99
With China's recent accession to the World Trade Organization (WTO) the economy there is taking great strides towards global accessibility. .cn offers registrants the protection of a well-established brand name in what is certain to become one of the most lucrative marketplaces in the world, and begin making inroads into the Chinese marketplace.
Is it possible to add too many aliased domain names on a Dedicated server? I have Hostgator's most powerful dedicated server and I added probably 150 domain names as aliases to one of my websites. Now today all of the sudden none of my other sites will load on the web. When I try to go to one of my sites it just thinks and thinks but never loads.
I'm using WHM with cPanel. Can aliased names cause too much server load? Some of those 150 domains get a little traffic but not much.
Ocassionally some users have problems to connect the their websites, they can connect to the server via browser and can ping it and tracert the server IPs fine, they can also browse domains having a dedicated IP address. But they can't connect or ping their websites from their end, basically I think the domain name is not resolving.
From our end and the rest of users everything works fine.
Once I get a complain of this type I try whatever I can do
Check to see if their IP is not blacklisted Restart named service Restart apache service But most of the time this doesn't work at all.
Exactly as the problem comes it goes, nothing I did seems to have any effect on the solution. It goes and ocassionally reappears.
Would you suggest me what would I do to find where the problem is and try to solve it.