↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When | |
---|---|---|---|
*** | LT has joined #arpnetworks | [01:10] | |
......................................................................................... (idle for 7h24mn) | |||
m0unds | staticsafe: https://www.youtube.com/playlist?list=PLc-oq-24r6LFedoVG429DQmARBMeshp6f | [08:34] | |
.... (idle for 15mn) | |||
staticsafe | ooh | [08:49] | |
........... (idle for 52mn) | |||
*** | LT has quit IRC (Quit: Leaving) | [09:41] | |
....................... (idle for 1h50mn) | |||
m0unds__ has quit IRC (Ping timeout: 245 seconds)
m0unds_ has joined #arpnetworks | [11:31] | ||
................................. (idle for 2h44mn) | |||
gizmoguy_ | this will be timeline'd hopefully... http://seclists.org/oss-sec/2014/q3/649 | [14:17] | |
*** | gizmoguy_ is now known as gizmoguy | [14:17] | |
awyeah | I seem to be getting extremely inconsistent disk read speeds on my VPS... is that just the nature of shared environments? 65MB/sec one minute and then 300+ the next | [14:17] | |
up_the_irons | shouldn't be like that | [14:18] | |
brycec | awyeah: Which host machine? | [14:19] | |
up_the_irons | there can be bottleneck times, but mostly the I/O should be consistent | [14:19] | |
brycec | up_the_irons: rebuilding and raids?
(I assume not, or you probably would've mentioned it already) | [14:20] | |
awyeah | let me check my panel
kvr07 | [14:24] | |
brycec | Aww good old kvr07 | [14:25] | |
awyeah | I've been around for a little while ;) | [14:26] | |
brycec | I used to be on kvr07
Also being on a low-numbered kvr doesn't necessarily equate to age just where there was capacity at the time | [14:26] | |
awyeah | yep | [14:28] | |
brycec | brycec moved up to kvr21 due to some Linux bugs
specifically, high UDP load would panic my kvm proc | [14:28] | |
awyeah | hah, lame | [14:29] | |
brycec | It was very lame with my UDP OpenVPN
And old bug, fixed in newer kvm so hence my move | [14:29] | |
up_the_irons | yeah it had to do with UDP fragments | [14:30] | |
brycec | which reminds me, I need to re-up | [14:30] | |
up_the_irons | documented virtio bug | [14:30] | |
brycec | ^ | [14:30] | |
up_the_irons | if your NIC never saw fragments, it would be OK, otherwise not | [14:31] | |
mercutio | bryce: under heavy write load hard-disk raid can be like that | [14:32] | |
brycec | mercutio: eh? | [14:32] | |
mercutio | 65mb/sec one minute, then 300k/sec the next. | [14:32] | |
brycec | mercutio: 301 Redirect to awyeah | [14:33] | |
mercutio | it was probably ages ago
oh 16 minutes, not that ages ago :) | [14:33] | |
brycec | lol | [14:33] | |
mercutio | oh it was awyeah that said it
for some reason awyeah is so dark i can hardly read it, weechat and it's damn colours. | [14:33] | |
RandalSchwartz | I think I'm on kvr07 too.
Nope. 05(!) | [14:34] | |
brycec | mercutio: same. I keep meaning to change my colours | [14:35] | |
RandalSchwartz | I think my machine uses vacuum tubes | [14:35] | |
mercutio | i dunno if there's a way to make everyone the same colour easily, but that may be quickest path.
i don't think it's even doing the 256+ colour thing. | [14:35] | |
m0unds | yea, everyone but ops is green on mine | [14:35] | |
brycec | mercutio: /set weechat.color.chat_nick_colors 1 | [14:35] | |
m0unds | ops are blue
text is all white | [14:35] | |
BryceBot | That's what she said!! | [14:36] | |
brycec | BryceBot: no | [14:36] | |
BryceBot | Oh, okay... I'm sorry. 'text is all white' | [14:36] | |
m0unds | silly bot | [14:36] | |
RandalSchwartz | roses are red! | [14:36] | |
awyeah | It's not a huge impact I don't think. I'm trying to troubleshoot some performance issues on apache+php+mysql | [14:36] | |
brycec | your bot is silly! oh wait, you don't have one | [14:36] | |
RandalSchwartz | that's what she said! | [14:36] | |
mercutio | hmm
whoever sadi that's what she said i can't read now | [14:36] | |
m0unds | haha, my bot is on another net. he wouldn't do well here | [14:37] | |
awyeah | Google PageSpeed claims my server takes 19 seconds to respond.... I can't reproduce that. | [14:37] | |
RandalSchwartz | roses on a piano are nice, but tulips on an organ are better. | [14:37] | |
mercutio | i set 0 oops
oh now it's red for everyone's nicks. | [14:37] | |
brycec | whee, everybody are green and red now | [14:37] | |
mercutio | i just need an op to talk :) | [14:37] | |
m0unds | merry xmas | [14:37] | |
brycec | /op brycec
>.> <.< | [14:37] | |
mercutio | maybe i need to join something like #debian :) | [14:37] | |
brycec | btw wechatters, if you haven't set /set weechat.look.prefix_same_nick "⤷" you don't know what you're missing | [14:37] | |
m0unds | ..speaking of which, miracle on 34th street is on one of the HBOs | [14:37] | |
brycec | *weechatters | [14:38] | |
mercutio | no-one's talking in there | [14:38] | |
awyeah | oh
hey that's sweet I'm going to set it to "--" I think | [14:38] | |
mercutio | brycec: what's that do? | [14:38] | |
brycec | Really helps when there are multiple same-colour nicks | [14:38] | |
awyeah | yeah, that's the stuff | [14:38] | |
brycec | mercutio: instead of your nick appearing under itself several times, it's that character | [14:39] | |
awyeah | hey. someone do me a favor | [14:39] | |
mercutio | "under itself?" | [14:39] | |
awyeah | load http://new.ohioares10.org/ in your web browser. | [14:39] | |
brycec | mercutio: https://dl.dropboxusercontent.com/u/3167967/screenshot_2014-09-24_14-38-19.png | [14:39] | |
awyeah | Tell me if it's slow. | [14:39] | |
m0unds | it was slow to resolve | [14:39] | |
mercutio | oh mine does inverse already | [14:39] | |
BryceBot | That's what she said!! | [14:39] | |
m0unds | took close to 6 seconds before first byte | [14:39] | |
mercutio | with as bad colours as you | [14:39] | |
brycec | ditto what m0unds said | [14:39] | |
RandalSchwartz | slow to load | [14:39] | |
awyeah | gah. | [14:40] | |
mercutio | it says waiting for ages
it's still waiting once it starts it's fine | [14:40] | |
awyeah | well, f*ck.
Good thing I'm not a professional sysadmin. | [14:40] | |
twobithacker | do you play one on TV? | [14:40] | |
brycec | And refreshing, it loads right up pretty much | [14:40] | |
m0unds | haha | [14:40] | |
RandalSchwartz | me neither | [14:40] | |
awyeah | Really need to learn more about optimizing this stuff. | [14:41] | |
RandalSchwartz | I just poke around until Neil is happy | [14:41] | |
m0unds | yeah, same here
loaded instantly after it loaded once | [14:41] | |
awyeah | hmm. | [14:41] | |
RandalSchwartz | "Yes... your page caches well!"
weird. not just cache. I emptied cache, and it still loaded relatively fast must be some bad DNS lookups | [14:41] | |
brycec | awyeah: You can semi-weed out the Apache-side if you just run "php $script.php" and see how long that takes to run | [14:42] | |
awyeah | hmmmmmm | [14:42] | |
brycec | RandalSchwartz: more likely the connection keep-alive | [14:42] | |
RandalSchwartz | No - I closed the window | [14:43] | |
mercutio | awyeah: i think dns resolution being slow is partially because it has to lookup awyeah.net etc as well | [14:43] | |
brycec | I wouldn't trust your browser to close the connection | [14:43] | |
awyeah | oh hey good call. running it on the command line takes quite some time. | [14:43] | |
brycec | I'm just using curl, so only one lookup
btw http://en.wikipedia.org/wiki/HTTP_persistent_connection) | [14:43] | |
BryceBot | HTTP persistent connection :: HTTP persistent connection, also called HTTP keep-alive, or HTTP connection reuse, is the idea of using a single TCP connection to send and receive multiple HTTP requests/responses, as opposed to opening a new connection for every single request/response pair. The newer SPDY protocol uses the same idea and takes it further to allow multiple concurrent requests/responses to be multiplexed over a single connection. | [14:43] | |
RandalSchwartz | woo hoo. ugly calendar! | [14:44] | |
mercutio | oh it's beign slow again | [14:44] | |
brycec | awyeah: Is this your own code? or something like wordpress, joomla, etc? | [14:44] | |
mercutio | tests with curl | [14:44] | |
awyeah | joomla. | [14:45] | |
brycec | Also, static resources should load (http) pretty quick
obligatory: ewww Joomla | [14:45] | |
mercutio | curl -v > /dev/null 0.00s user 0.00s system 0% cpu 23.300 total | [14:45] | |
m0unds | hahaha | [14:45] | |
mercutio | not sure why it removed the url
23.3 seconds is pretty damn slow, that is to the public service link | [14:45] | |
brycec | lol
Yeah, pulling up static resources like CSS is instantaneous so your Joomla is slow | [14:45] | |
awyeah | yeah | [14:45] | |
brycec | perhaps your database is slow | [14:45] | |
RandalSchwartz | that's what she said | [14:45] | |
mercutio | 8.5 seconds the second time
it was going faster before | [14:45] | |
awyeah | yeah I've been looking at DB stuff
that's where I'm the least knowledgeable, TBH | [14:46] | |
brycec | @google slow joomla :P | [14:46] | |
awyeah | but hooray, my mysql slow-query log is filling up | [14:46] | |
brycec | You're probably looking at some mysql tuning | [14:46] | |
RandalSchwartz | or upgrade to an actual database | [14:47] | |
brycec | mysql isn't know for being a lightweight, and in a constrained VPS you're going to have some fine tuning to do
Also, Apache tends to be a resource (esp. memory) hog so see if you can ditch that | [14:47] | |
mercutio | joomla is crap | [14:47] | |
BryceBot | That's what she said!! | [14:47] | |
mercutio | joomla can also leak
are you swapping? | [14:47] | |
BryceBot | That's what she said!! | [14:47] | |
RandalSchwartz | heh | [14:47] | |
brycec | (I really, really dislike Joomla. But I was trying to remain constructive :P) | [14:48] | |
mercutio | it says you're using apache | [14:48] | |
awyeah | freebsd is always swapping. | [14:48] | |
mercutio | if you're not using mod cgi type php... then you probably want to reduce max number of requests per process
to keep the memory consumption down. you're always swapping? | [14:48] | |
BryceBot | That's what she said!! | [14:48] | |
mercutio | reduce minspare and maxspare too
it's much cheaper to create a new process than to swap | [14:48] | |
awyeah | my php is an apache module | [14:49] | |
brycec | freebsd doesn't normally swap... And this is coming from a guy who runs a storage ZFS server | [14:49] | |
mercutio | bryce: it's not uncommon for joomla to use 250 mb of memory :) | [14:49] | |
awyeah | You sure? I thought FreeBSD is always putting idle pages into swap. | [14:49] | |
mercutio | per process..
awyeah: nah that's linux | [14:49] | |
brycec | mercutio: I'm sure | [14:49] | |
mercutio | freebsd is pretty slack about swapping | [14:49] | |
brycec | I used to admin a few Joomla sites
well not the sites, other sites..., but there were joomla sites on the same server | [14:49] | |
awyeah | I have 673/1500MB in use, and 419MB of swap in use. weird. | [14:49] | |
m0unds | wait, you're using mod_php? | [14:50] | |
mercutio | awyeah: you may have had a burst of processes before. did you restart apache? | [14:50] | |
awyeah | yeah not doing fastcgi or anything.
yeah restarted it like 10 mins ago for a quick config change | [14:50] | |
m0unds | you might wanna consider trying it; mod php is expensive | [14:50] | |
mercutio | mod_php does suck yes. | [14:50] | |
awyeah | well hold on here though, I get a ton of slowness when I run "php index.php" - huge delay. | [14:50] | |
mercutio | esp when dealing with joomla etc.
awyeah: i use strace to debug those things :) | [14:51] | |
awyeah | moving to fpm or whatever is on my list, but it sounds like maybe that's not the big issue right now. | [14:51] | |
brycec | ^ correct | [14:51] | |
mercutio | it makes it reasonably easy to see if it's doing something like db connect or such
ktrace on freebsd i think | [14:51] | |
awyeah | hmmmmm | [14:51] | |
mercutio | i think it's ktrace/kdump on freebsd. | [14:51] | |
awyeah | Is there a "get started with ktrace in 10 minutes" type tutorial I could look at? | [14:51] | |
m0unds | brycec: i like your prefix_same_nick char better than my ghetto arrow. thx for that. | [14:52] | |
mercutio | well ti's annoying compared to strace for "spotting"
as you don't see the delay so easily but it might mark seconds | [14:52] | |
brycec | awyeah: for shits and giggles, reboot (fresh memory slate), stop apache (or it will eat up ram), and then run your php
m0unds: don't thank me, thank http://benoliver999.com/2014/02/18/weechatconf.html | [14:52] | |
mercutio | you basically just run it and look at output briefly
and if something pops out at you it pops out | [14:52] | |
m0unds | i was using --> | [14:52] | |
awyeah | okay. I'll reboot. brb. | [14:52] | |
m0unds | that one is fancier | [14:52] | |
mercutio | it's a good exercise in not reading every line | [14:52] | |
brycec | m0unds: I liked the idea of putting my buffers on top too :D
And I'm also doing the auto-hide quiet buffers | [14:53] | |
*** | awyeah has quit IRC (Quit: ZNC - http://znc.in) | [14:53] | |
m0unds | huh, i'm gonna have to check this out
i just made weechat as much like irssi as possible, but i'm down to try new stuff haha | [14:53] | |
brycec | m0unds: Mine looks like this now https://dl.dropboxusercontent.com/u/3167967/screenshot_2014-09-23_10-02-39.png | [14:54] | |
m0unds | snazzy | [14:54] | |
brycec | Actually it's a bit narrower than that screenshot
because it can me now :D *can be | [14:55] | |
*** | awyeah has joined #arpnetworks | [14:55] | |
brycec | wb awyeah
awyeah: so now you're on a clean slate. The first query/run will be slow since it has to all come from disk, subsequent runs should be a bit faster | [14:56] | |
awyeah | alrighty
stand by please. | [14:57] | |
brycec | brycec sits anyways
brycec is a rebel | [14:58] | |
awyeah | yep both pretty slow still
first and second | [14:58] | |
brycec | Okay, so you've got a good idea where to tweak then
btw awyeah what are the vps specs? | [14:59] | |
awyeah | 1.5GB RAM, 2x20GB disks | [14:59] | |
brycec | Well that's not bad then
With that much ram, you should have no trouble fitting mysql in ram (caching, etc) And frankly I'm surprised you're having as much trouble as you are | [14:59] | |
awyeah | I wouldn't put it past myself to really screw things up ;) | [15:00] | |
brycec | I'm blaming Joomla for now, both itself and whatever plugins etc have been configured | [15:01] | |
awyeah | wordpress is relatively slow as well
check out http://www.ccskywarn.org same server, same db server, but wordpress. actually it's definitely faster on the command line for that site. See, I evaluated joomla and drupal for this new site. And ended up liking joomla... so... crap | [15:01] | |
brycec | Oh so the CMS was your pick? | [15:03] | |
awyeah | yep | [15:04] | |
brycec | Might I recommend Concrete5 for a relatively lightweight gooey CMS? | [15:04] | |
awyeah | concrete5, eh | [15:04] | |
brycec | I've messed with it a bit in the past
Not doing any CMS nowadays Or I do 100% static | [15:04] | |
awyeah | Yeah, I need WYSIWYG editors, access control, etc | [15:05] | |
brycec | Been burned by CMS vulnerabilities/hacks too many times | [15:05] | |
awyeah | this site is going to have several people, each can only edit certain parts of the site | [15:05] | |
brycec | c5 should fit the bill | [15:05] | |
awyeah | one requirement is this
I need a nice calendar plugin. And that calendar plugin needs to be able to automatically sync external ical feeds. And it needs to provide its own ical feeds. | [15:06] | |
brycec | awyeah: http://www.concrete5.org/marketplace/addons/-/view/?submit_search=1&search_keywords=calendar&sort=recommended&endorsed=endorsed
several of those do just that Some are even free :p | [15:06] | |
awyeah | Interesting. | [15:07] | |
brycec | I like that the addons site even showcases sites using a given plugin
| [15:07] | |
awyeah | hmm
wow, Joomla has a lot of crap in it by default. extensions and stuff | [15:10] | |
brycec | Joomla is a lot of crap :P | [15:11] | |
awyeah | I mean, I can't believe that something as popular as Joomla can be so crappy.
It's got to be somethign on my side here. | [15:15] | |
m0unds | popular doesn't necessarily mean "good" :) | [15:16] | |
awyeah | oh wow holy crap | [15:18] | |
BryceBot | That's what she said!! | [15:18] | |
awyeah | I changed to the default template
WAY faster | [15:18] | |
brycec | sweet
Oh yeah that is fast | [15:18] | |
m0unds | yeah, that loaded much faster
all the pages load right away | [15:18] | |
brycec | brycec mashes the Bigger button
twss | [15:19] | |
BryceBot | Okay! twss! 'ACTION mashes the Bigger button' | [15:19] | |
awyeah | lol now I can't change it back, bleh
wow, I can't believe what a difference that makes, holy cripes. | [15:21] | |
brycec | I was impressed as well | [15:24] | |
.......................... (idle for 2h5mn) | |||
mercutio | so how did joomla tuning go?
i suppose i should say awyeah because it's been a while | [17:29] | |
brycec | mercutio: The resource hog turned out to be the theme he was using
switched to the default and it came up in <2s | [17:31] | |
m0unds | yeah, weird how much faster it was | [17:32] | |
mercutio | maybe it's going over some cache value or something
query cache size, or memcached limit or some other cache thingy | [17:32] | |
m0unds | i've been messing w/ghost a bit. it's pretty nice for a blogging platform. don't really know what to think of node though | [17:33] | |
brycec | m0unds: Link? (because googling "ghost node" was next to useless) | [17:34] | |
m0unds | http://ghost.org | [17:34] | |
brycec | So it's hoted? | [17:34] | |
m0unds | https://ghost.org/download/ | [17:35] | |
brycec | *hosted
Ah | [17:35] | |
m0unds | i'm running node behind nginx
and just keep the app running w/forever (npm install forever -g) | [17:35] | |
staticsafe | staticsafe just uses wordpress :) | [17:36] | |
brycec | brycec just doesn't blog | [17:36] | |
m0unds | i just like playing with stuff
ran wp for years, ran octopress for a bit but updating it was a pita, so i never updated | [17:36] | |
staticsafe | yeah i actually switched to octopress, then killed it and started brand new with WP | [17:37] | |
up_the_irons | i like octopress | [17:38] | |
m0unds | yeah, it's nice, but i'm lazy and having to write in vim then regen then deploy was just too much effort ;)
i did like having the blog's code and stuff living in a mercurial repo though, just clone it locally and commit new posts or whatever | [17:39] | |
up_the_irons | yeah, for me, i like writing in vim, so that was a big plus | [17:43] | |
......................... (idle for 2h4mn) | |||
*** | forgotten has quit IRC (Quit: leaving)
forgotten has joined #arpnetworks | [19:47] |
↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |