in reply to Re^6: super slow
in thread super slow
pm server stats is now being updated. It shows the stats for the last 7 days on a per-hour basis in a table. Sorry, but no fancy graphs. If that's something people really want, i'm sure i can come up with an ASCII-Art version via GnuPlot.
The external website will take a bit longer, but i wanted to put at least something online as soon as possible.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^8: super slow
by choroba (Cardinal) on Aug 22, 2024 at 14:19 UTC | |
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
| [reply] [d/l] [select] |
Re^8: super slow
by pryrt (Abbot) on Aug 22, 2024 at 17:35 UTC | |
A little over an hour ago, I had a connection-refused, so since I had just grabbed the monitor that Discipulus mentioned earlier, I started running it:
(Times at UTC-0700, so my it means the outage I saw was from 16:03 (or earlier) to 16:09 UTC.)
When I was getting a response again, I checked pm server stats, and it didn't list any problems. I waited until after 17:00 UTC, in case it was behind in updating the page, but even at 17:25, it said the 16:00 UTC hour had no issues. Since the monitor script was actively getting 500 errors, not just timing out, it seems to me that they might be checking two different things. Well, maybe it is a routing difference; but previously, when I've had the connection-refused, I get it whether through my wifi or through my phone network, and often through an external is-it-down site. Unfortunately, this time, I didn't think to confirm with external route whether it was more generally down.
And it is interesting that most of the full hours have had 585-615 access counts, whereas the 16:00 hour only had 528 -- which is about 5/6 of the normal, which would correspond to about 10 minutes in the hour without any accesses, which matches with my ~10min of connection-refused. cavac, are you sure it's properly logging when an error occurs? Or maybe it's only specific errors that yours logs, and the error I was seeing isn't one of them? | [reply] [d/l] |
by cavac (Prior) on Aug 22, 2024 at 20:56 UTC | |
I'm using WWW::Mechanize and checking for success(). Which should mean a non-error HTTP status code, if memory serves correctly. I have to dig deeper into this, there are most likely error conditions i don't check for. I have to simulate a few types of network errors to see how WWW::Mechanize handles these. (*) My stuff is still a bit alpha. Basically, i use a couple of half-hour lunch breaks this week to plonk in some extra logging into my existing chatterbot codebase, write a function to run a SELECT statement for the statistics and use existing code to update a Node on PM. Today i was also playing around with the code and updating the database and stuff. Plus doing a linux update, which took the whole thing offline for a few minutes. I'm not exactly sure how long chatterbot was offline today or exactly when (Lunchbreaks don't always happen at noon for me, it's more like a "when i'm hungry and i can spare the time" thing). (*) Most of my day-to-day dev work is web server development. Strangely enough, i hardly ever implement client code.
PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP Also check out my sisters artwork and my weekly webcomics | [reply] |
Re^8: super slow
by Discipulus (Canon) on Aug 29, 2024 at 10:48 UTC | |
can you put all links belonging to chatterbot on its homenode like pm server stats and so on? Just because I never remember where they are. Or maybe crosslink them from cb stats, last hour of cb? L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS. | [reply] [d/l] |
by cavac (Prior) on Aug 29, 2024 at 12:45 UTC | |
I just tried. The chatterbot account got auto-locked, and now doesn't work at all. Already send message to gods. I'd really appreciate if someone could unlock that account, and maybe even grant it some fake karma points so the system doesn't lock the account every other time i update that damn node.
PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP Also check out my sisters artwork and my weekly webcomics | [reply] |
by jdporter (Paladin) on Aug 29, 2024 at 16:28 UTC | |
unlock that account Done. I am investigating a better solution. | [reply] |
by cavac (Prior) on Aug 30, 2024 at 06:25 UTC | |
by jdporter (Paladin) on Aug 30, 2024 at 16:46 UTC | |
| |
by pryrt (Abbot) on Aug 29, 2024 at 14:23 UTC | |
Also, if the gods changed the owner of nodes like New last hours of cb, CB stats, Chatterbox KARMA support, Chatterbot update, Chatterbot update (same node name, different conversation), (and the cavac-replies following), would those XP immediately transfer from cavac to chatterbot? Or would the bot only receive new upvotes going forward and the original owner would keep the existing XP? Because if the XP transferred immediately, it might be worth the quick-boost to the bot's XP to chown those nodes. Of course, such an XP-transfer from a chown would minorly reduce cavac's duly-earned XP, so such a transfer would have its cost, and thus the chown/XP-exchange should only happen if cavac and the gods both agree to the change in XP... Then again, the gods do have the power to grant fiat XP as well, so maybe such convoluted machinations aren't worth it when a much simpler fix would suffice. | [reply] |
by jdporter (Paladin) on Aug 29, 2024 at 16:33 UTC | |
Re^8: super slow
by Danny (Chaplain) on Aug 23, 2024 at 20:29 UTC | |
| [reply] |