#arpnetworks 2014-09-24,Wed

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***LT has joined #arpnetworks [01:10]
......................................................................................... (idle for 7h24mn)
m0undsstaticsafe: https://www.youtube.com/playlist?list=PLc-oq-24r6LFedoVG429DQmARBMeshp6f [08:34]
.... (idle for 15mn)
staticsafeooh [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]
awyeahI 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_ironsshouldn't be like that [14:18]
brycecawyeah: Which host machine? [14:19]
up_the_ironsthere can be bottleneck times, but mostly the I/O should be consistent [14:19]
brycecup_the_irons: rebuilding and raids?
(I assume not, or you probably would've mentioned it already)
[14:20]
awyeahlet me check my panel
kvr07
[14:24]
brycecAww good old kvr07 [14:25]
awyeahI've been around for a little while ;) [14:26]
brycecI 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]
awyeahyep [14:28]
brycecbrycec moved up to kvr21 due to some Linux bugs
specifically, high UDP load would panic my kvm proc
[14:28]
awyeahhah, lame [14:29]
brycecIt was very lame with my UDP OpenVPN
And old bug, fixed in newer kvm so hence my move
[14:29]
up_the_ironsyeah it had to do with UDP fragments [14:30]
brycecwhich reminds me, I need to re-up [14:30]
up_the_ironsdocumented virtio bug [14:30]
brycec^ [14:30]
up_the_ironsif your NIC never saw fragments, it would be OK, otherwise not [14:31]
mercutiobryce: under heavy write load hard-disk raid can be like that [14:32]
brycecmercutio: eh? [14:32]
mercutio65mb/sec one minute, then 300k/sec the next. [14:32]
brycecmercutio: 301 Redirect to awyeah [14:33]
mercutioit was probably ages ago
oh 16 minutes, not that ages ago :)
[14:33]
bryceclol [14:33]
mercutiooh 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]
RandalSchwartzI think I'm on kvr07 too.
Nope. 05(!)
[14:34]
brycecmercutio: same. I keep meaning to change my colours [14:35]
RandalSchwartzI think my machine uses vacuum tubes [14:35]
mercutioi 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]
m0undsyea, everyone but ops is green on mine [14:35]
brycecmercutio: /set weechat.color.chat_nick_colors 1 [14:35]
m0undsops are blue
text is all white
[14:35]
BryceBotThat's what she said!! [14:36]
brycecBryceBot: no [14:36]
BryceBotOh, okay... I'm sorry. 'text is all white' [14:36]
m0undssilly bot [14:36]
RandalSchwartzroses are red! [14:36]
awyeahIt's not a huge impact I don't think. I'm trying to troubleshoot some performance issues on apache+php+mysql [14:36]
brycecyour bot is silly! oh wait, you don't have one [14:36]
RandalSchwartzthat's what she said! [14:36]
mercutiohmm
whoever sadi that's what she said i can't read now
[14:36]
m0undshaha, my bot is on another net. he wouldn't do well here [14:37]
awyeahGoogle PageSpeed claims my server takes 19 seconds to respond.... I can't reproduce that. [14:37]
RandalSchwartzroses on a piano are nice, but tulips on an organ are better. [14:37]
mercutioi set 0 oops
oh now it's red for everyone's nicks.
[14:37]
brycecwhee, everybody are green and red now [14:37]
mercutioi just need an op to talk :) [14:37]
m0undsmerry xmas [14:37]
brycec/op brycec
>.>
<.<
[14:37]
mercutiomaybe i need to join something like #debian :) [14:37]
brycecbtw 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]
mercutiono-one's talking in there [14:38]
awyeahoh
hey
that's sweet
I'm going to set it to "--" I think
[14:38]
mercutiobrycec: what's that do? [14:38]
brycecReally helps when there are multiple same-colour nicks [14:38]
awyeahyeah, that's the stuff [14:38]
brycecmercutio: instead of your nick appearing under itself several times, it's that character [14:39]
awyeahhey. someone do me a favor [14:39]
mercutio"under itself?" [14:39]
awyeahload http://new.ohioares10.org/ in your web browser. [14:39]
brycecmercutio: https://dl.dropboxusercontent.com/u/3167967/screenshot_2014-09-24_14-38-19.png [14:39]
awyeahTell me if it's slow. [14:39]
m0undsit was slow to resolve [14:39]
mercutiooh mine does inverse already [14:39]
BryceBotThat's what she said!! [14:39]
m0undstook close to 6 seconds before first byte [14:39]
mercutiowith as bad colours as you [14:39]
brycecditto what m0unds said [14:39]
RandalSchwartzslow to load [14:39]
awyeahgah. [14:40]
mercutioit says waiting for ages
it's still waiting
once it starts it's fine
[14:40]
awyeahwell, f*ck.
Good thing I'm not a professional sysadmin.
[14:40]
twobithackerdo you play one on TV? [14:40]
brycecAnd refreshing, it loads right up pretty much [14:40]
m0undshaha [14:40]
RandalSchwartzme neither [14:40]
awyeahReally need to learn more about optimizing this stuff. [14:41]
RandalSchwartzI just poke around until Neil is happy [14:41]
m0undsyeah, same here
loaded instantly after it loaded once
[14:41]
awyeahhmm. [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]
brycecawyeah: 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]
awyeahhmmmmmm [14:42]
brycecRandalSchwartz: more likely the connection keep-alive [14:42]
RandalSchwartzNo - I closed the window [14:43]
mercutioawyeah: i think dns resolution being slow is partially because it has to lookup awyeah.net etc as well [14:43]
brycecI wouldn't trust your browser to close the connection [14:43]
awyeahoh hey good call. running it on the command line takes quite some time. [14:43]
brycecI'm just using curl, so only one lookup
btw http://en.wikipedia.org/wiki/HTTP_persistent_connection)
[14:43]
BryceBotHTTP 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]
RandalSchwartzwoo hoo. ugly calendar! [14:44]
mercutiooh it's beign slow again [14:44]
brycecawyeah: Is this your own code? or something like wordpress, joomla, etc? [14:44]
mercutiotests with curl [14:44]
awyeahjoomla. [14:45]
brycecAlso, static resources should load (http) pretty quick
obligatory: ewww Joomla
[14:45]
mercutiocurl -v > /dev/null 0.00s user 0.00s system 0% cpu 23.300 total [14:45]
m0undshahaha [14:45]
mercutionot sure why it removed the url
23.3 seconds is pretty damn slow, that is to the public service link
[14:45]
bryceclol
Yeah, pulling up static resources like CSS is instantaneous
so your Joomla is slow
[14:45]
awyeahyeah [14:45]
brycecperhaps your database is slow [14:45]
RandalSchwartzthat's what she said [14:45]
mercutio8.5 seconds the second time
it was going faster before
[14:45]
awyeahyeah 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]
awyeahbut hooray, my mysql slow-query log is filling up [14:46]
brycecYou're probably looking at some mysql tuning [14:46]
RandalSchwartzor upgrade to an actual database [14:47]
brycecmysql 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]
mercutiojoomla is crap [14:47]
BryceBotThat's what she said!! [14:47]
mercutiojoomla can also leak
are you swapping?
[14:47]
BryceBotThat's what she said!! [14:47]
RandalSchwartzheh [14:47]
brycec(I really, really dislike Joomla. But I was trying to remain constructive :P) [14:48]
mercutioit says you're using apache [14:48]
awyeahfreebsd is always swapping. [14:48]
mercutioif 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]
BryceBotThat's what she said!! [14:48]
mercutioreduce minspare and maxspare too
it's much cheaper to create a new process than to swap
[14:48]
awyeahmy php is an apache module [14:49]
brycecfreebsd doesn't normally swap... And this is coming from a guy who runs a storage ZFS server [14:49]
mercutiobryce: it's not uncommon for joomla to use 250 mb of memory :) [14:49]
awyeahYou sure? I thought FreeBSD is always putting idle pages into swap. [14:49]
mercutioper process..
awyeah: nah that's linux
[14:49]
brycecmercutio: I'm sure [14:49]
mercutiofreebsd is pretty slack about swapping [14:49]
brycecI used to admin a few Joomla sites
well not the sites, other sites..., but there were joomla sites on the same server
[14:49]
awyeahI have 673/1500MB in use, and 419MB of swap in use. weird. [14:49]
m0undswait, you're using mod_php? [14:50]
mercutioawyeah: you may have had a burst of processes before. did you restart apache? [14:50]
awyeahyeah not doing fastcgi or anything.
yeah restarted it like 10 mins ago for a quick config change
[14:50]
m0undsyou might wanna consider trying it; mod php is expensive [14:50]
mercutiomod_php does suck yes. [14:50]
awyeahwell hold on here though, I get a ton of slowness when I run "php index.php" - huge delay. [14:50]
mercutioesp when dealing with joomla etc.
awyeah: i use strace to debug those things :)
[14:51]
awyeahmoving 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]
mercutioit makes it reasonably easy to see if it's doing something like db connect or such
ktrace on freebsd i think
[14:51]
awyeahhmmmmm [14:51]
mercutioi think it's ktrace/kdump on freebsd. [14:51]
awyeahIs there a "get started with ktrace in 10 minutes" type tutorial I could look at? [14:51]
m0undsbrycec: i like your prefix_same_nick char better than my ghetto arrow. thx for that. [14:52]
mercutiowell ti's annoying compared to strace for "spotting"
as you don't see the delay so easily
but it might mark seconds
[14:52]
brycecawyeah: 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]
mercutioyou basically just run it and look at output briefly
and if something pops out at you it pops out
[14:52]
m0undsi was using --> [14:52]
awyeahokay. I'll reboot. brb. [14:52]
m0undsthat one is fancier [14:52]
mercutioit's a good exercise in not reading every line [14:52]
brycecm0unds: 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]
m0undshuh, 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]
brycecm0unds: Mine looks like this now https://dl.dropboxusercontent.com/u/3167967/screenshot_2014-09-23_10-02-39.png [14:54]
m0undssnazzy [14:54]
brycecActually it's a bit narrower than that screenshot
because it can me now :D
*can be
[14:55]
***awyeah has joined #arpnetworks [14:55]
brycecwb 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]
awyeahalrighty
stand by please.
[14:57]
brycecbrycec sits anyways
brycec is a rebel
[14:58]
awyeahyep both pretty slow still
first and second
[14:58]
brycecOkay, so you've got a good idea where to tweak then
btw awyeah what are the vps specs?
[14:59]
awyeah1.5GB RAM, 2x20GB disks [14:59]
brycecWell 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]
awyeahI wouldn't put it past myself to really screw things up ;) [15:00]
brycecI'm blaming Joomla for now, both itself and whatever plugins etc have been configured [15:01]
awyeahwordpress 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]
brycecOh so the CMS was your pick? [15:03]
awyeahyep [15:04]
brycecMight I recommend Concrete5 for a relatively lightweight gooey CMS? [15:04]
awyeahconcrete5, eh [15:04]
brycecI've messed with it a bit in the past
Not doing any CMS nowadays
Or I do 100% static
[15:04]
awyeahYeah, I need WYSIWYG editors, access control, etc [15:05]
brycecBeen burned by CMS vulnerabilities/hacks too many times [15:05]
awyeahthis site is going to have several people, each can only edit certain parts of the site [15:05]
brycecc5 should fit the bill [15:05]
awyeahone 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]
brycecawyeah: 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]
awyeahInteresting. [15:07]
brycecI like that the addons site even showcases sites using a given plugin
eg http://www.myactivechild.com/calendar/
[15:07]
awyeahhmm
wow, Joomla has a lot of crap in it by default.
extensions and stuff
[15:10]
brycecJoomla is a lot of crap :P [15:11]
awyeahI 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]
m0undspopular doesn't necessarily mean "good" :) [15:16]
awyeahoh wow holy crap [15:18]
BryceBotThat's what she said!! [15:18]
awyeahI changed to the default template
WAY faster
[15:18]
brycecsweet
Oh yeah that is fast
[15:18]
m0undsyeah, that loaded much faster
all the pages load right away
[15:18]
brycecbrycec mashes the Bigger button
twss
[15:19]
BryceBotOkay! twss! 'ACTION mashes the Bigger button' [15:19]
awyeahlol now I can't change it back, bleh
wow, I can't believe what a difference that makes, holy cripes.
[15:21]
brycecI was impressed as well [15:24]
.......................... (idle for 2h5mn)
mercutioso how did joomla tuning go?
i suppose i should say awyeah because it's been a while
[17:29]
brycecmercutio: The resource hog turned out to be the theme he was using
switched to the default and it came up in <2s
[17:31]
m0undsyeah, weird how much faster it was [17:32]
mercutiomaybe it's going over some cache value or something
query cache size, or memcached limit or some other cache thingy
[17:32]
m0undsi'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]
brycecm0unds: Link? (because googling "ghost node" was next to useless) [17:34]
m0undshttp://ghost.org [17:34]
brycecSo it's hoted? [17:34]
m0undshttps://ghost.org/download/ [17:35]
brycec*hosted
Ah
[17:35]
m0undsi'm running node behind nginx
and just keep the app running w/forever (npm install forever -g)
[17:35]
staticsafestaticsafe just uses wordpress :) [17:36]
brycecbrycec just doesn't blog [17:36]
m0undsi 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]
staticsafeyeah i actually switched to octopress, then killed it and started brand new with WP [17:37]
up_the_ironsi like octopress [17:38]
m0undsyeah, 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_ironsyeah, 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)