Commenti riparati :)

Prima di tutto, bentornati!
E` passato un intenso quasi-mese dall’ultima volta che ho scritto – sono successe molte cose tra cui l’uscita di Leopard (che ho installato il giorno dopo il LinuxDay), giochi con l’iPhone, e diverse escursioni interessanti (flickr mi e` testimone)
[Adesso che l’ho finito, so che questo post e` troppo lungo, ma dopo un mese spero nella vostra pazienza… n.d.a.]

Dovete sapere che l’ultima volta che ho tentato di dare uno sguardo ai settaggi di Spam Karma per questo blog, l’allegro MySQL ha deciso di morirmi addosso. La cosa non mi ha sorpreso piu` di tanto, dato che come sapete in passato accadeva abbastanza di frequente, pero` negli ultimi tempi mi pareva che le cose fossero andate a posto.
Cercando di approfondire, ho notato che nella tabella dei commenti c’erano 2700 righe: questo invece mi ha sorpreso parecchio, mi aspettavo di trovarci quelle poche centinaia che ci avevamo scritto insieme…

Continue reading “Commenti riparati :)”

Ipod 6G (classic) vs Ipod 5G (video)

Ieri ho provato uno dei nuovi Ipod.
L’interfaccia mi pare migliorata, ugualmente usabile e rapida. In alcuni casi presenta informazioni che sul mio (5G) non ci sono.
Mi chiedevo quante differenze ci fossero a livello hardware tra le due serie, e se fosse possibile mettere il firmware del nuovo sul vecchio. Direi da quello che ho letto che al momento non sia possibile, e pare che tra le altre cose il 6G monti una componentistica audio diversa dal precedente, che ad un orecchio allenato “suona” diversamente.
Ovviamente qualcuno si e` preso la briga di analizzare la resa con una certa precisione in un articolo lungo e dettagliato (di cui ho capito si e no la meta`).
Posto che probabilmente io non mi accorgerei della differenza, i piu` audiofili forse e` meglio che attendano di capire se un ulteriore aggiornamento firmware risolvera` il “problema”.

Ahah, sigh (Tiscali smtp internal relay sucks)


beepbeep:~ zen$ telnet smtp.tiscali.it 25
Trying 213.205.33.13...
Connected to smtp.tiscali.it.
Escape character is '^]'.
421 averell.tiscali.it Service not available - too many connections

beepbeep:~ zen$ telnet smtp.tiscali.it 25
Trying 213.205.33.13...
Connected to smtp.tiscali.it.
Escape character is '^]'.
220 joe.tiscali.it ESMTP Service (7.3.122) ready

That is, the smtp relay for the entire tiscali network in Italy is a load balancer with ip address 213.205.33.13, which balances over two hosts

  • averell.tiscali.it has address 213.205.33.55
  • joe.tiscali.it has address 213.205.33.54

Anyway, it looks like the balancer has been configured with a dumb round robin (and with limits greater than those configured on the backend hosts). Please note that I’m connecting always from the same IP.
Net result: the balancer is useless. Half of the connections to the service get reset because of a single overloaded host. An innovative way to rate-limit the use of a service.

I’m writing this post waiting for my mails to get through.
Being sick and locked inside home makes me aggressive, did you notice?

MySQL and low memory(?), help needed

Dear lazyweb,
as you may have seen sometimes the SQL backend of this blog dies.
I believe this is caused by the amount of ram available on the machine, but feel free to teach me.
Right now mysql uses

PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
23902 mysql 18 0 42M 28M sigwait 0:12 0.83% 0.83% mysqld

I tried to optimize it a little, but had small to none real effect using

query_cache_type = 1
query_cache_size = 1M
query_cache_limit = 1M
thread_cache_size = 3
tmp_table_size = 50000000
key_buffer_size = 6291456

Given that all I have are 192Megs of ram, and the machine is performing happiliy if it weren’t for the DB dying, is there anything I can do? (“Move over to a bigger iron” is not a valid answer).
I think I’m not using InnoDB, and that all tables are MyISAM – if that makes a difference.
I’m on 5.0.2x train already.

In other news, I’m @home in Bologna and I have fever.
It won’t be fun to reach Milan tonight or tomorrow morning. :|

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close