I have a VPS with 384 MB RAM, with free about 100-120 MB. I've upgraded to 512 MB (to have some other features...). I notice that the memory usage is always about 250-300 MB. For example, now:
Code: [root@host ~]# free -m total used free shared buffers cached Mem: 512 311 200 0 0 0 -/+ buffers/cache: 311 200 Swap: 0 0 0 But PHP tells "out of memory" in some tasks
The current PHP config is memory limit 192 MB (it was 96 MB, then I tried to increase). [url]
Code: <b>Fatal error</b>: Out of memory (allocated 19660800) (tried to allocate 39 bytes) in <b>##hidden##/includes/joomla.php</b> on line <b>3041</b><br />
At the moment, I am been hosted on an unmanaged server (dedicated).
My server provider is offering $25/hour for managed support.
My Kernal and Centos have not been updated for a while and I am looking to upgrade both of them. I am wondering how long would these 2 jobs normally take?
I'm in a vps with 512 MB ram now, my visitors per day is 10K and from top command, i just use about 200 MB. But, my vps is always got downtime everyday about 30 minutes. The CS said it is because my ram, the top command is not representing the real ram and recommend me to upgrade my ram to 768 MB.
I run the website for a small but profitable business. We currently have a shared hosting package with Midphase (who suck horribly) for about $10/month, and I'd like to switch hosts ASAP.
I need to stay under $50/month, but my question is how much do I need to spend and would I benefit from VPS?
Our requirements are relatively modest (see below) but we need rock-solid uptime, fast transfer speeds, and quick/effective support should we need it. I'd also like to keep using cpanel or something equally easy.
Here's are current stats:
traffic: 1000 visits/month or less disk space: 5GB bandwidth: 1.5 GB/month mysql databases: 3 scripting: We also have a couple of wordpress blogs installed and run a small php script daily via cron
I try to relocate a database from my MS-sql8 server to a MS-sql 10. I can't get it to work as it should on the new host.
I have used the deattach / atttach method and after that i can login to the db in the new server and make selects. However stored procedures or views does not work. If i try to access them from a vbscript it get an error telling me that the stored procedure does not exicst. If I use the admin tool I can verify that it is there.. Can someone explain what to do? the db is owned by the user and should have all user rights thats needed, but apparently i guess that something is missing.
I have had a VPS at Futurehosting for over 2 years, that I am very happy with. Currently, the OS is Centos 4.
At what point in time should I upgrade to Centos 5? And are there in pitfalls when upgrading from a system that seems to be ticking along happily. Are there many incompatibility issues?
I have a linux VPS server.My trouble started when I bought a script that required me to install PHP5. Currently my server have 4.3.9.
Being a linux noob, it took me 2 days to install PHP 5 but now the problem is everything is still using PHP 4.3.9. When i do a phpinfo(); it shows php4.3.9.So, can someone please tell me how to tell the system to use PHP 5.
I used the exact same ./configure command as i see in the PHPINFO(); for PHP4.3.9 i.e
#make #make install Even the installed PHP seems not be working after the upgrade, when i type "php" i see this now:
# php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/domxml.so' - /usr/lib/php4/domxml.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/gd.so' - /usr/lib/php4/gd.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: UåWVSè?ò: Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/ldap.so' - /usr/lib/php4/ldap.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/mbstring.so' - /usr/lib/php4/mbstring.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: UåVSè : Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/odbc.so' - /usr/lib/php4/odbc.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/pgsql.so' - /usr/lib/php4/pgsql.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: UåVSèé): Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: UåSèÝ": Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 PHP 5.2.5 (cli) (built: May 5 2008 23:38:38) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies [root@ip-68-178-166-214 php-5.2.5]# php PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/domxml.so' - /usr/lib/php4/domxml.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/gd.so' - /usr/lib/php4/gd.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: UåWVSè?ò: Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/ldap.so' - /usr/lib/php4/ldap.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/mbstring.so' - /usr/lib/php4/mbstring.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: UåVSè : Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/odbc.so' - /usr/lib/php4/odbc.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/pgsql.so' - /usr/lib/php4/pgsql.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: UåVSèé): Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: UåSèÝ": Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0
I have a dedicated server and currently its running php 4.4.7. I need to upgrade to atleast 5.0 to run a script i purchased for my new website. Script wont install unless its php 5.0.
So here is what i did:
logged into my whm under root...clicked on Software-Apache Update
Now i have a list of software i can install. So i selected php module version 5.0.4 and clicked on start build. It ran and then my server restarted. But now when i try to open any of my sites on that dedicated server it does not open them. It makes me download each page i try to open.
Example i go to www.mysite.com/index.php it will ask me to download the index.php file.
How do i install php 5 on my server using cpanel/whm
I currently have a LiquidWeb VPS1 since April 15, 2006. Over-all very happy with it (minus the cPanel crap cPanel pulls). They are running a special on all VPS's and dedicated and am thinking of moving to the VPSII plan. CPU load is low and RAM/System usage (is that RAM?) usage is sitting at 55% (after 5 days).
I do "Family and Friends" hosting and it covers it now, but I couldn't afford to pay for the VPSII on my own, but with auto monthly payments from Friends and Family I could afford it.
Reasons for looking at the VPSII plan? 768MB RAM and double the CPU. My friend is hosting with me and runs all Drupal sites (same with me (once they go live). Drupal seems to like a min of 32-64MB for the php.ini file. Disk space is 56% not that big a deal.
If I pay the $150 setup fee, I can reduce the monthly cost to $25/month more then I pay now. So my question is, is it worth it? Is it worth it if I get the funding on monthly going?
I have a server that requested to do hardware upgrade the noc couldn't make it right with the same hdd so they just make new machine and connected the old hdd as the 2nd hdd (/oldhdd) to this new server where in the old hdd are all data and have to import all accounts to this new server or the better way would be to make it primary and that would save a lot of time not having to create add each account one by one then copy files and start making all the configuration of the server from scratch but my concern is all for accounts.
It has cpanel and there are more than 200 accounts.
Upgraded http apache from 1.2 to 2.2 quite new in 2.2 and also upgraded to php5 but after that facing two thing before upgrade in my process running only have mysql and httpd processes but after this upgrade php5 process also join them now three process running .
And secondly many time when people try to browse my forum base site then they are getting done page which is blank page nothing happen just done and nothing display on page but after keep refreshing got forum page . but need to refresh 2 to 3 time i am also new in http 2.2 envirment how to optimize it as well thanks in advance God bless you .
When I attempt the upgrade to PHP 5.2.1 using apache update in WHM. It doesn't upgrade. It looks to doa basic version check and then restarts Apache. Is this a known bug or is there a way that this can be corrected?
I am currently running the following
============= Operating system Linux Service Status Click to View Kernel version 2.6.9-42.0.10.ELsmp Machine Type i686 Apache version 1.3.37 (Unix) PERL version 5.8.7 Path to PERL /usr/bin/perl Path to sendmail /usr/sbin/sendmail Installed Perl Modules Click to View PHP version 5.2.0 MySQL version 5.0.27-standard cPanel Build 10.9.0-RELEASE 139 Theme cPanel X v2.6.0 Documentation Click to View cPanel Pro 1.0 (RC36)
This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies with eAccelerator v0.9.5, Copyright (c) 2004-2006 eAccelerator, by eAccelerator with the ionCube PHP Loader v3.1.29, Copyright (c) 2002-2007, by ionCube Ltd., and with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend Technologies ================
I'm currently on RZ Advance Plan for almost 2 years and found them to be ok. Well I guess I don't bother them much as I'm hosting mostly very low traffic corporate sites which utilizes email rather than anything else. However we had a couple of email issues on and off and it normally will be ok after we submit a support tkt although RZ will always maintain that nothing is wrong. The spams issues though is still unresolve to date. I'm not sure if getting a new provider will change all that either.
Then there was a week when I'm developing a site for a client and was working on it at around 3 - 5 am Singapore time.
There was at least an 5 - 8 occurances of intermmittent downtime lasting no more than 2 -5 mins on the site during that hr, when questioned RZ said thatit was a peak period. 2 - 3 mins of waiting time for that amount of occurances doesn't seem too good when you're developing the site right? So I'm considering ..
Should I upgrade to RZ Failover plan or Liquidweb VPS. Liquidweb server secure feature attracted me the most as it mentioned the spam issues that is crucial for me.
I like RZ end user support but not too confident with the email/ spam issues will be any better. Do you think getting Liquid VPS with 384dedicated RAM suffice for 30 - 50 corporate sites? I'm setting a budget of no more than $100 to include external end user support. Possible?
I have been using Blue Host for years, but recently they kept suspending my account due to performance problem.
I was only running a php forum (phpBB3) and a Wordpress blog. They kept mentioning it is not problem with space/bandwidth, but issues with "Running application causing high load", and the mysql queries from phpBB3 are taking too long.
Now I am planning to add a Ruby on Rails application. I am sure it will cost more CPU usage. What should I do? Will a move to VPS hosting solve my problem?
We are currently looking to move to a new dedicated server provider located in the United Kingdom. The server is solely used to provide an IRC daemon to a large IRC network that receives multiple gigabits of DDoS and PPS. We are currently with another hosting provider who can no longer support us.
Our current specification is DualCore Xeon 2.67Ghz/4MB Cache with 500GB SATA HDD. A good connection and available bandwidth (preferably 3-5,000 GB bandwidth /month) included in the price. We are seeking to move to a new dedicated server host, if you know a company that can accommodate our needs,
How do you prevent people from using different IPs on a machine that has a couple VPS clients on it.
If client A has xxx.xxx.xxx.100-xxx.xxx.xxx.103 and client B has xxx.xxx.xxx.104-xxx.xxx.xxx.105. How do you prevent client B from using client A's IPs? Can't he easily modify the config file for his ethernet device to use an IP that hasn't been assigned to him but is assiged to someone else on the same machine?
i checked the CPU usage on my vpc tru Plesk and Remote control, bouth stating i got high CPU usage around 89% 90% TO 96% up and down, no program is using the resources they are all in 0% in the process tab, but when you check the Performance it stats 95%, i dont understand what is going on,
I have VPS with 1GB ram and run same proxy sites in VPS,but sometime usage Ram is high almost 80%, but if I see in histat I see user online is same with usually..
and when I use command netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n I see 1 or 2 IP is 200connection , what is mean?
is Ddos attack or what? and I try to ban this IP using command iptables -A INPUT -s [this IP adress]
but I see this IP still connect? so what must I do?
When I remote into my Windows VPS, Task Manager shows 80% CPU usage on the Performance tab, however, if I look at the running tasks, there's hardly any CPU usage. Is Task Manager including CPU usage from all other VPS's on the box?
For about a couple of days (no configs were changed) I am experiencing high cpu usage from time to time.
At this moment and what I can see is this:
Sites are using low cpu resources, top process is mysql + 1-2 php defuncts replacing each other, after that - httpd requests Something happens and php are starting to use more cpu thant it should. Cpu top usage shows all php files in all accounts replacing each other (index files, scripts there are like wordpress, forums, etc).
Server crashes... Or I kill all php processes, restart apache and it goes back to normal mode again.
I had the same issue months ago, just cpu usage was even more agressive and much often. After days of checking, I've found that it was Curl and/or Curlwrappers which were cauisng that. After recompiled apache without them (left curlssl only), cpu load was always stable.
I m currently hosted on a shared host and this is the stat for on eof my site:
Hours CPU Time Execution time CPU Usage Average Memory Processes 0-6 20.46 s 98.86 s 0.24% 2.52 MB 105 6-12 246.99 s 1927.26 s 2.86% 2.46 MB 1328 12-18 373.3 s 3660.48 s 4.32% 2.52 MB 1867 18-24 250.57 s 2800.82 s 2.90% 2.52 MB 1259
So it shows my site uses avg 2.52 MB RAM. This is in shared hostinng plan.
Now suppose I am going for a VPS server with 256 MB RAM, does that mean I will get whole 256 MB RAM for my Site usage or the OS and other application will also consume that amount of RAM.
What I understand that when you go for VPS, the allocated processor and RAM capacity to yur plan will be used by the OS, the cpanel or any other scripts and the Database. So basically they together will consume nearly 256 MB RAM.