[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: google compute engine health check or DoS?



gcutil resetinstance is a reasonable idea. That is the equivalent of pressing a hard reset button on the system. Alternatively, gcutil deleteinstance and declining when asked about deleting the boot disk (or using --nodelete_boot_pd) is the equivalent of sending an ACPI power down signal (there is no equivalent signal for soft reboots) and freeing up the CPU, unreserved IP addresses, RAM, etc.

Neither of these deletes your disk - the disk is called persistent disk for a reason. (The soon-to-vanish v1beta16 API offered scratch disks, but unless you're using a gcutil from before early December, you would have had to choose that API explicitly.) I've used both commands many times, including on critical instances.

If you do ever delete and re-add the instance, you can give gcutil addinstance a flag like --disk=<old instance name>,boot instead of specifying an image to boot off the existing disk.

Also, if you apt-get upgraded without rebooting, the kernel is the same one you first booted with. However unless something got killed via OOM, I can't see how the old kernel's memory leak would be related.

Yes, I meant #debian-cloud on IRC. (As Jeremy said, that's irc.debian.org, also known as OFTC.) I'm Hydroxide there.

Heading to sleep soon - it is indeed evening here and I'm on an unusually early schedule this week.

Good luck!

- Jimmy


On Fri, Mar 21, 2014 at 9:01 PM, Jose R R <Jose.r.r@metztli-it.com> wrote:
Hi Jimmy-

Sorry I did not think anybody would reply as quickly on a Friday
evening (Calironia).

I had not experienced any issues since approximately 2 months ago that
I started the instance with Salt/Libcloud as a proof of concept.
Accordingly the image has been upgraded since then with apt-get
update/dist-upgrade.

gcutil getserialportoutput ouputs a long output and at the end I get
copious output with tail related to the database, example:

Mar 21 20:23:31 my-google-instance mysqld: 0 [0, 0, 0, 0] ,
Mar 21 20:23:43 my-google-instance mysqld: ibuf aio reads:140321
20:23:43 [Warning] Aborted connection 58427 to db: 'my-sql-db' user:
'my-self' host: 'localhost' (Unknown error)
Mar 21 20:25:49 my-google-instance mysqld: 140321 20:25:49 [Warning]
Aborted connection 58378 to db: 'my-sql-db' user: 'my-self' host:
'localhost' (Unknown error)

I was going to try gcutil resetinstance to reboot my instance but I am
not sure if it will wipe out my served content.


Best Professional regards.

PS. #debian-cloud irc?


On Fri, Mar 21, 2014 at 7:27 PM, Jimmy Kaplowitz <jkaplowitz@google.com> wrote:
> Hi Jose,
>
> No, us-central1-b should be working.  Does gcutil getserialportoutput (or
> the equivalent web console view) show anything informative? Might be an OOM,
> a kernel panic, really any of the possibilities for a normal system.
>
> I won't be awake many more hours, but I can briefly discuss in #debian-cloud
> if you'd like.
>
> One thing to note is that a memory leak in the virtio-scsi driver got fixed
> in the Debian 7.4 kernel, and is also absent from the backports kernel.
> Either of these is recommended over older Debian kernels.
>
> We released our 7.4 images earlier this week, though of course apt-get
> upgrade would have gotten you that sooner, and the backports image already
> offered a newer kernel partly for this reason.
>
> - Jimmy
>
> On Mar 21, 2014 7:10 PM, "Jose R R" <Jose.r.r@metztli-it.com> wrote:
>>
>> Niltze [hi!]-
>>
>> I am running a small Debian instance on GCE on us-central1-b (from
>> another email account than this one) and was wondering if  there it's
>> undergoing maintenance; otherwise I think it is being being DoS DDoS
>> since
>>
>> gcutil nor ssh are not able to connect; nor the web server displays
>> anything (loading...)
>>
>> If anyone from GCE reads this I'd appreciate your input.
>>
>>
>> Best Professional Regards.
>>
>> --
>> Jose R R
>> http://www.metztli-it.com
>>
>> ---------------------------------------------------------------------------------------------
>> NEW Apache OpenOffice 4.0.1! Download for GNU/Linux, Mac OS, Windows.
>>
>> ---------------------------------------------------------------------------------------------
>> Daylight Saving Time in USA & Canada ends: Sunday, November 02, 2014
>>
>> ---------------------------------------------------------------------------------------------
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-cloud-request@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmaster@lists.debian.org
>> Archive:
>> [🔎] CAM12Q5SLEqE9TstrVL9PYrirvDH1UJcDA2ragD1zYeUeUxbzGA@mail.gmail.com" target="_blank" class="cremed">https://lists.debian.org/[🔎] CAM12Q5SLEqE9TstrVL9PYrirvDH1UJcDA2ragD1zYeUeUxbzGA@mail.gmail.com
>>
>


Reply to: