Current time: 04-18-2014, 06:50 AM Hello There, Guest! (LoginRegister)

Post Reply 
Dreamhost PS Manager
10-02-2011, 12:34 AM
Post: #131
RE: Dreamhost PS Manager
You are completely right, I got half a reply from DH:





Hello,

"It seems that my VPS is missing LWP::Protocol:https"

Your server is running the latest version of debian we allow, and it
seems that module is missing. I'm going to have our administration team
look into this, and will get back to you on that!


Thanks!
Brian H






Hope they repair soon.
Find all posts by this user
Quote this message in a reply
10-06-2011, 01:11 AM
Post: #132
RE: Dreamhost PS Manager
Ok ! It seems that dreamhost has repaired, and

perl ./testlib.pl

now replies

Done



Now waiting to see if VPS resources adjust automatically...
Find all posts by this user
Quote this message in a reply
10-06-2011, 02:11 AM (This post was last modified: 10-06-2011 02:12 AM by weblover.)
Post: #133
RE: Dreamhost PS Manager
Hi, when I try to run both psrebooter.pl and psmanager.pl I get:

./psmanager.pl
2011-10-06 01:48 -07:00 - ERROR: Request failed!
500 Can't connect to api.dreamhost.com:443 (Bad hostname 'api.dreamhost.com')
500 Can't connect to api.dreamhost.com:443 (Bad hostname 'api.dreamhost.com')

By the way, perl ./testlib.pl gives me "Done".
Find all posts by this user
Quote this message in a reply
10-06-2011, 04:12 AM (This post was last modified: 10-06-2011 04:13 AM by ottodv.)
Post: #134
RE: Dreamhost PS Manager
(10-06-2011 02:11 AM)weblover Wrote:  2011-10-06 01:48 -07:00 - ERROR: Request failed!
500 Can't connect to api.dreamhost.com:443 (Bad hostname 'api.dreamhost.com')
500 Can't connect to api.dreamhost.com:443 (Bad hostname 'api.dreamhost.com')

At first sight it looks like a connectivity problem.

Try pinging api.dreamhost.com with:

ping -c 5 api.dreamhost.com

if that fails try reaching some some other urls, like dreamhost.com itself, google.com, etc..., if you are having connectivity problems then you should notify dreamhost again.

If not we will have to look further on our side, then as a start please post the output of

./psmanager.pl check

Otto - 7is7.comDreamhost VPS ManagerDreamhost Promo Codes
Visit this user's website Find all posts by this user
Quote this message in a reply
11-15-2011, 02:34 AM
Post: #135
RE: Dreamhost PS Manager
It's not working anymore when you have captcha.
It won't change the memory anymore.

PROMO CODES:
CAJUCLCIP - 1 FREE IP!
CAJUCLC30 - $30 OFF!
GENETIC2U - $50 OFF!
PM ME FOR $100 OFF!
Visit this user's website Find all posts by this user
Quote this message in a reply
11-15-2011, 07:56 AM
Post: #136
RE: Dreamhost PS Manager
(11-15-2011 02:34 AM)CajuCLC Wrote:  It's not working anymore when you have captcha.
It won't change the memory anymore.
It can't have anything to do with captcha, API calls don't need to
There should be errors in your logs.

Please run "psmanager.pl check" (without quotes) and post the output here.

Otto - 7is7.comDreamhost VPS ManagerDreamhost Promo Codes
Visit this user's website Find all posts by this user
Quote this message in a reply
11-16-2011, 09:42 AM (This post was last modified: 11-16-2011 09:43 AM by CajuCLC.)
Post: #137
RE: Dreamhost PS Manager
(11-15-2011 07:56 AM)ottodv Wrote:  It can't have anything to do with captcha, API calls don't need to
There should be errors in your logs.

Please run "psmanager.pl check" (without quotes) and post the output here.

Here:

Quote:Check PsManager setup
# PsManager 0.5.6 #
2011-11-16 14:41 -02:00
key = SET
microblog =
uname = NONE
pass = NONE
tweet_template = {ps}: {change} resized to {newsize}MB from {oldsize}MB at {time } [{tz}]
reboot_tweet_template = {ps}: reboot requested at {time} [{tz}]
mem_min = 500
mem_max = 1000
memory_factor = 1
buffer_perc = 50
force = no
force_lim = 20
pick = 8
ignore = 2
sample_interval = 1
curr_used_factor = 1.1
ps = psxxxxx (I REMOVED THIS HERE FOR SAFETY)
TZ = America/Sao_Paulo
verbose = 1
debug = 0

Crontab line(s):
* * * * * $HOME/bin/psmanager.pl >> /tmp/psmanager_cron.log 2>&1

tail ./psmanager.log:
201111161431 900 391 508 196 1113 0
201111161432 900 371 528 196 1099 0
201111161433 900 369 530 196 1085 0
201111161434 900 313 586 196 1072 0
201111161435 900 304 595 196 1057 0
201111161436 900 321 578 196 1038 0
201111161437 900 317 582 196 1020 0
201111161438 900 334 565 196 1005 0
201111161439 900 335 564 196 990 0
201111161440 900 314 585 197 976 0

tail /tmp/*psmanager_cron.log:

Latest size change requests:
201111081611 538 372 165 37 861 861
201111081812 861 163 697 220 629 629
201111081844 629 525 103 20 785 785
201111082045 786 246 539 50 419 500
201111082146 500 380 119 56 567 567
201111082347 567 231 335 77 343 500
201111090033 500 145 354 16 607 607
201111091021 607 333 273 47 759 759
201111091525 759 578 180 96 973 973

Errors and Warnings in verbose log:
201110210807 E: Request failed!
201110210808 E: Request failed!
201110210809 E: Request failed!
201110210810 E: Request failed!
201110210811 E: Request failed!
201110210812 E: Request failed!
201110210815 E: Request failed!
201110210814 E: Request failed!
201110210816 E: Request failed!
201110210813 E: Request failed!

Check complete

And on panel it's not changing anything.

PROMO CODES:
CAJUCLCIP - 1 FREE IP!
CAJUCLC30 - $30 OFF!
GENETIC2U - $50 OFF!
PM ME FOR $100 OFF!
Visit this user's website Find all posts by this user
Quote this message in a reply
11-16-2011, 10:56 AM
Post: #138
RE: Dreamhost PS Manager
(11-16-2011 09:42 AM)CajuCLC Wrote:  And on panel it's not changing anything.

There are some odd things with that output. Could you post the output of:

grep "L:" ~/bin/psmanager_verbose.log|tail -4

and

wc -l ~/bin/psmanager.log

I'd like to see psmanager.log itself, I have a feeling it may tell me more. Could you e-mail that file to me because it would be too long to post here.

Otto - 7is7.comDreamhost VPS ManagerDreamhost Promo Codes
Visit this user's website Find all posts by this user
Quote this message in a reply
11-16-2011, 12:59 PM
Post: #139
RE: Dreamhost PS Manager
(11-16-2011 10:56 AM)ottodv Wrote:  There are some odd things with that output. Could you post the output of:

grep "L:" ~/bin/psmanager_verbose.log|tail -4

and

wc -l ~/bin/psmanager.log

I'd like to see psmanager.log itself, I have a feeling it may tell me more. Could you e-mail that file to me because it would be too long to post here.

For: grep "L:" ~/bin/psmanager_verbose.log|tail -4:

Quote:201111160006 L: Logfile trimmed.
201111160007 L: Logfile trimmed.
201111160008 L: Logfile trimmed.
201111160009 L: Logfile trimmed.

And other one came:

11586 /home/REMOVED/bin/psmanager.log

I tried to email you, but Gmail is being gay, so I uploaded to Mediafire:
http://www.mediafire.com/?io2u0916gpy3y3d

Thanks.

PROMO CODES:
CAJUCLCIP - 1 FREE IP!
CAJUCLC30 - $30 OFF!
GENETIC2U - $50 OFF!
PM ME FOR $100 OFF!
Visit this user's website Find all posts by this user
Quote this message in a reply
11-17-2011, 12:19 AM
Post: #140
RE: Dreamhost PS Manager
(11-16-2011 12:59 PM)CajuCLC Wrote:  I tried to email you, but Gmail is being gay, so I uploaded to Mediafire:

I got the file, you can remove it if you want.

It does indeed look like the memory size isn't ever changed in recent days, while there are periods when it seems the size should change. Unfortunately I found nothing about what causes this problem.

I see that you had turned verbose logging on. That's a good thing in this case, as it holds much more information including info on events. Could you upload that file to mediafire too? The file is called ~/bin/psmanager_verbose.log

It's clear though that something is else failing. The logfile trimming doesn't appear to work for you. Your file contains many more lines than it should, even though it claims to have trimmed the logfile. Incidentally there was a bug that caused it to be trimmed once per day instead of once per hour, but still that should leave you just one day worth of lines at best, instead of several days as you do now.

I can't quite see how the log trimming problem is related to the memory changes not happening. But maybe the verbose log will shed some more light on this.

Otto - 7is7.comDreamhost VPS ManagerDreamhost Promo Codes
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: