#arpnetworks/ 2015-01-19,Mon

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

WhoWhatWhen
brycecup_the_irons is on the case
Ooh, now graphs fails with no route to host
[00:34]
...... (idle for 28mn)
mercutiocool
maybe he rebooted it?
it works for me now at least
although it seems it broke a few days ago
[01:02]
brycecYep, back up and working for me too. [01:04]
mercutiodo you find a gap since like thursday? [01:04]
bmacssweet
yeah
[01:04]
brycecYep, late Thurs. [01:05]
bmacsI see missgin data [01:05]
mercutioheh i wasn't sure when on thursday it was
but yeah that makse sense, the red line is the end of thursday
[01:05]
brycecFree bandwidth! [01:05]
bmacshaha [01:05]
mercutioi'm under monthly cap in a year anyway :/ [01:06]
.................... (idle for 1h38mn)
***bmacs has left [02:44]
............................... (idle for 2h30mn)
jcv has joined #arpnetworks [05:14]
...................................... (idle for 3h7mn)
dj_goku has quit IRC (Ping timeout: 240 seconds) [08:21]
dj_goku has joined #arpnetworks
dj_goku has quit IRC (Changing host)
dj_goku has joined #arpnetworks
[08:35]
.................. (idle for 1h29mn)
dj_goku has quit IRC (Ping timeout: 264 seconds) [10:04]
.... (idle for 19mn)
dj_goku has joined #arpnetworks
dj_goku has quit IRC (Changing host)
dj_goku has joined #arpnetworks
[10:23]
.................. (idle for 1h27mn)
zeshoemdo azure cloud servers come with public IPs or are they Natted like AWS ? [11:50]
.... (idle for 15mn)
acf_Azure doesn't even let ICMP through afaict
but I don't remember them having NAT
[12:05]
mercutiodidn't azure have osme fre etrial or something at some point
To sign up for a Free Trial you need a phone number, a credit card, and a Microsoft Account username (formerly Windows Live ID).
We use the phone number and credit card for identity verification. We want to make sure that real people are using Azure. We do not bill anything on the credit card.
wow they have a lot of lcoations
[12:15]
***jbergstroem_ has joined #arpnetworks
jbergstroem has quit IRC (Ping timeout: 252 seconds)
[12:17]
brycecYeah, but MSFT had [most of] those DC's already. AWS was essentially building out new [12:26]
mercutio*shrug*
azure is in new zealand, aws isn't.
and isn't aws in like 12 locations if that
[12:34]
staticsafeSydney is close enough :P [12:34]
mercutioand azure seems to be in like 140+
static: it's a difference of 6x ping for me :/
and more for some people heh
it's actually good to have sservers within 20 msec really :/
Sydney congestion is more common than US congestion here it seems too.
[12:34]
oh actually azure doesn't have new zealand
the list it in the 140 locations or whatever, but there's only like 12 again that you can host vm's in
[12:44]
....................... (idle for 1h54mn)
zeshoemhow different is nginx compared to apache? [14:39]
brycecThe configuration is still text-based...
Many similar concepts
But it's definitely its own program
[14:41]
zeshoemhow about lighttpd
are those two similar?
nginx and lighttpd I mean
[14:42]
brycecYeah I'd say nginx and lighttpd are more similar than either to Apache.
By no means are the configuration files compatible though, if that's what you're getting at
[14:43]
mercutiozeshoem: lighttpd is much simpler than nginx ime [14:44]
zeshoemI suppose I mean more feature compliant, run ssl and php etc [14:44]
mercutiobut nginx has more cool features, is under more active development, and seems to be getting more popular. [14:44]
brycecnginx ftw :) [14:45]
zeshoemsomething similar to .htaccess files so users can modify config [14:45]
mercutioi'm slowly shifting some stuff form lighttpd to nginx.
zeshoem: that's an apacheism
for shared hosting most people are still doing apache
it actually seems to the most desired feature pushing poeple to apache though
[14:45]
brycecThat and suexec [14:47]
mercutioyou can run php under different users brycec [14:47]
brycecThe only two reasons I'd still run Apache. And the htaccess-isms are easily translated into server-side config.
mercutio: Yeah but it's a bitch of a setup
[14:47]
zeshoemdo most folks hand write their apache configs?
virtualhosts and all
[14:47]
mercutiozeshoem: i wrote a script to do some apache config stuff once
but i still usually just hand roll.
[14:48]
brycec^ [14:48]
zeshoemI used to hand roll a long time ago, before I was introduced to cPanel [14:49]
mercutio*cough* [14:49]
zeshoemnow I seem to have lost that ability [14:49]
brycec/part [14:49]
mercutioit's not very complicated zeshoem
in the big scheme of things
but if you struggle with that you may struggle with nginx and php
[14:49]
zeshoemas long as I can yum install nginx and something like php-nginx I should be OK [14:50]
brycecmaaaybe, if the packagers included a config for you [14:50]
zeshoembut if it needs compiling I probably cant handle that [14:50]
BryceBotThat's what she said!! [14:50]
zeshoemBryceBot: twss [14:50]
BryceBotOkay! twss! 'but if it needs compiling I probably cant handle that' [14:50]
mercutiomaybe you should just stick with cpanel
it doens't need compiling, but it needs config
[14:50]
zeshoemIt would be awesome if something feature comparable to cPanel was release as Free Software.
the cPanel tax hurts
[14:51]
mercutioit's only $10/month or something isn't it [14:51]
brycecWell, I hate to say it, but there is Webmin... [14:51]
mercutiooh it's $20/month [14:52]
zeshoemits different on virtual servers and physical but its there [14:52]
mercutiowell thre's lots of howto's around about configuring nginx/php
http://askubuntu.com/questions/134666/what-is-the-easiest-way-to-enable-php-on-nginx
[14:53]
zeshoemis there a noticable performance boost while using nginx compared to apache? [14:54]
mercutioon low ram hosts sure
on high load sure
but if you have plenty of ram/cpu/etc with light load you probably won't notice the difference
[14:54]
brycecFor most, nginx outperforms Apache in many facets.
It's very nice to have a minimal footprint. Apache is a hog.
[14:55]
mercutiothere are lots of convoluted things that all work intogether zeshoem
like lots of php stuff leaks.
so running less processes can mean you're less likely to deplete all of your ram.
apache has more than one version, in the in-process model it runs php as a module, and each apache instance uses a lot of ram.
which goes up over time normally, as it doesn't seem to free it between requests.
[14:56]
brycec(And so one approach of Apache's is to reap and respawn those child processes) [14:57]
mercutioso most people that still use apache with medium to high load sites run php as a cgi with apache
oh yeah the easy workarouhnd is to limit the number of requests served by a process.
but doing such things reduces further static performnace
[14:57]
brycecOh man, sendfile performance for static assets, mind-blowing [14:59]
mercutiozeshoem: also tuning mysql can make a difference to php site performance normally.
as well as using caching plugins etc.
[15:00]
brycec(Not a very noticeable gain for small/slow sites, but larger sites and scripts/apps that make good use of it, it's awesome) [15:00]
mercutiobrycec: caching helps small sites. [15:01]
brycecmercutio: Sorry, I was referring to sendfile [15:01]
mercutioo right
setting expires etc elps too
why is my h key being mental
[15:01]
brycecYeah there's lots of optimization that can be eked out
if you know what you're doing
If you're afraid of compiling, then you probably aren't the type to opimize the dickens out of things
[15:01]
mercutiobut yeah that stuff can make more noticable difference to speed than apache vs nginx
some people are just lazy, and just enable cloudflare in front of their sites.
[15:02]
brycecI have a site where a php script receives a request and serves back a file from the disk. It sees some pretty heavy use. Using sendfile in that reduced my system load to practically nothing [15:03]
mercutiobrycec: that's a special case :) [15:03]
brycecI dare say that's exactly sendfile's intended use :p
(serving file downloads)
[15:03]
mercutiooh i thought you meant the sendfile system call [15:03]
brycecX-Sendfile technically [15:04]
mercutioyeah, that's different :) [15:04]
brycecslightly ;p [15:04]
mercutiohttp://man7.org/linux/man-pages/man2/sendfile.2.html
well it means php isn't in a send/recv loop
and php bieng intrepreted and high memory usage means it's good to avoid
[15:04]
brycecYep, and the server can recycle/cache as it wants [15:04]
mercutiolighttpd supports that too
lightty really is simpler :/
[15:04]
brycechttp://wiki.nginx.org/XSendfile
Yep
I find nginx simpler, personally
[15:05]
mercutiointeresting
on ubuntu lighttpd php just works
[15:05]
brycecnginx lets me do relatively complex things very simply. [15:05]
mercutiowell that's not what i was thinking when i wqas talking about simple :) [15:05]
brycecI can't read your mind :P [15:06]
mercutioheh
i meant simple as in basic
[15:06]
brycecAnyhow, yes, everyone has different definitions of "simple"
(and "similar")
[15:06]
mercutioyeah
it's all about scope
if you just want to install cacti or something on a host, and have a web interface, lighttpd is quick/easy
but if you want to do complex sites nginx may help
and nginx supports spdy :)
[15:06]
brycec(And Apache is easier, because the cacti package just drops in a config for it :P) [15:07]
mercutiosame with lightty [15:07]
brycecEnabling spdy was super, super easy
Not that I'll see a benefit from it in my uses... but hey, geek cred, or something
[15:07]
mercutioheh
new ubuntu supports tcp fast open in nginx
we probably overloaded zeshoem
[15:08]
........ (idle for 39mn)
zeshoemstepped away for a few minutes. Back now [15:48]
mercutioheh [15:49]
zeshoemspun up a centos6 and centos7 vm
was trying to figure out why pings are getting duplicated
[15:49]
***hive-mind has quit IRC (Ping timeout: 276 seconds) [15:51]
zeshoemturns out a virtual GNS3 router was interfering [15:52]
***hive-mind has joined #arpnetworks [15:52]
up_the_ironsyeah, graphs.arp was borked for a while [15:54]
***medum has joined #arpnetworks [15:56]
mercutioup_the_irons: what happened to it?
we were getting apache poked itself
[16:00]
up_the_ironsmercutio: not sure, i finally had to just hard reboot it [16:01]
mercutioweird. [16:01]
***jbergstroem_ is now known as jbergstroem [16:06]
........................... (idle for 2h11mn)
lystra has joined #arpnetworks [18:17]
.............................................. (idle for 3h46mn)
mnathani-bash: telnet: command not found [22:03]
.......... (idle for 45mn)
mercutioapt-get install telnet ? [22:48]
mnathanicentos 7, I was just surprised its not installed by default. yum install telnet worked [22:59]
mercutioubuntu doesn't install it by default either iirc
slackware is the only distro that used to isntall lots of stuff by default?
i dunno it's current status as i havent' used it since libc5 days.
[23:00]

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