URGENT hosting coppermine - Page 2 URGENT hosting coppermine - Page 2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

URGENT hosting coppermine

Started by allvip, March 30, 2014, 12:06:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

allvip

I did searched google for that php error. is a little to much for my to understand the tutorials.

I thinks they just ruined my coppermine and their server as well during "server migration" that was actually a sever crash because was down for hours and then my website was looking like 24 hours ago,nothing was working right.

I will have to use my 6 months ago database  >:(
Lucky I am not a popular gallery.I did had 2-4 pictures with amazing views in the last 5 months (5000) but well...download,upload...views 0  >:(

allvip

In reply #4 cs.jpg MySql Disk space 225.21 MB

gmc

Quote from: allvip on April 01, 2014, 12:53:21 PM
In reply #4 cs.jpg MySql Disk space 225.21 MB
I was referring to the MySQL CPU time... Shared hosting providers typically measure the CPU time used by the site - and separately the CPU time used in MySQL for each user - as that is also a shared resource.

An example from one of my sites attached...
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

allvip

#23
The resouces button shoud be in Logs section in Cpanel but is not and 1H Software (with cpu/memory) statisc are empty

I found a way to see the cpu usage but I do not understand the tutorial

can someone help:

http://forums.cpanel.net/f34/troubleshooting-high-server-loads-linux-servers-319352.html

allvip

chat with arvixe to give me resouces statistics,cpu and mysql time and they act like they do not know english.

gmc

Quote from: allvip on April 01, 2014, 05:37:42 PM
use [user@host ~]$ sar -p for Historical CPU usage but where shoud I type that?
That would require 'shell' access - which I don't expect any shared hosting provider allows for security reasons...
A dedicated server would allow this access.

Further down in the article, the author provides a script that can be invoked via cron to check resource usage and email you if there is an issue... I added to my '15 minute' cron task. Looks like it needs some adjustment for my config, but the output was:

grep: /etc/wwwacct.conf: No such file or directory
1 minute load avg: 23
Swap used: 2108 kB
Mem used: 8137468 kB
grep: /proc/net/dev: No such file or directory
grep: /proc/net/dev: No such file or directory
packets received (2 secs): 0
grep: /proc/net/dev: No such file or directory
grep: /proc/net/dev: No such file or directory
packets sent (2 secs): 0
./monitor.pl: line 111: bc: command not found


From looking at the code - the load, swap and mem appear correct... The packet data relies on the 'grep' commands that are failing... I would need to rework a bit...

But to execute - I placed the script in a file named 'monitor.pl' - changed the email address to my email - and invoked it via cron with this command included in my php cron script:

system( "cd /home/account/domain/subdomain/directory; ./monitor.pl;" );

(where the cd path is the complete file path to the directory containing the .pl file to be run...)

Should be able to get a view of the stats from your ISP without going through this in my opinion...

Greg
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

allvip

Quote from: gmc on April 01, 2014, 06:30:43 PM
Should be able to get a view of the stats from your ISP without going through this in my opinion...
Greg

HOW?

allvip

Quote from: gmc on April 01, 2014, 06:30:43 PM
and invoked it via cron with this command included in my php cron script:

system( "cd /home/account/domain/subdomain/directory; ./monitor.pl;" );


invoked it via cron...my php cron script.I do not understood that at all.

I think this script is showing my current cpu.My gallery has 700 page visitis in  the last 2 days because is broken.
My current cpu and mysql time can not compare with march 2014 because is broken and the page views is down to 30%,visitors down to 50%.

gmc

Quote from: allvip on April 01, 2014, 06:44:14 PM
HOW?
Guess I should have qualified...  A 'reasonable' ISP should be able to provide such statistics....

Quote
I think this script is showing my current cpu.My gallery has 700 page visitis in  the last 2 days because is broken.
My current cpu and mysql time can not compare with march 2014 because is broken and the page views is down to 30%,visitors down to 50%.
Correct.. It is a current snapshot only... Historical data would depend on the ISP collecting and making available.

Quote
invoked it via cron...my php cron script.I do not understood that at all.
Cron is the ability to schedule tasks to run periodically. Typically cPanel will have a 'Cron' function where you can set times/frequency, and point to a script.  In my case, the script is php - and uses the 'system' call to invoke the perl script from the article you cited.
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

allvip

Closed the account with arvixe and got refunded for the last month (was their ideea not mine) .
I only have access to my domain.
Now I contact yahoo to see if there is any way they allow a hotlinking rule.
After what happend with arvixe I just want a host I KNOW I will have no problems.Yahoo was a reliable server.
They never contact me to say that I am too big,too...and I never contact them because I never had any probems.
I do not care about memory limit anymore.
My gallery is not bigger then when I left yahoo so everything will be fine.
Yahoo is 9 speed rank  on http://fasthosts.net/ . Arvixe is 5 speed rank and is so truth.
To bad I never tested the speed for my website on I was at yahoo.

allvip

#30
for gmc

I decided to go with you.
Yahoo won't allow .htaccess.Is no way around it.
I will buy from you and not ICDSoft.
I want to try for 30 days.

allvip

Quote from: gmc on March 30, 2014, 02:23:51 PM
My best price is for US based hosting in major US data center in shared hosting environment.

If that means the server I will be on is in US then yes that's want I want.A US server.

gmc

Yes... the US pricing is for data center in the US...
I will send you an email - typing now.
Greg
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money