Return-Path: X-Original-To: apmail-openjpa-users-archive@minotaur.apache.org Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B43E3D220 for ; Fri, 14 Dec 2012 04:45:49 +0000 (UTC) Received: (qmail 95840 invoked by uid 500); 14 Dec 2012 04:45:49 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 95556 invoked by uid 500); 14 Dec 2012 04:45:48 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 95526 invoked by uid 99); 14 Dec 2012 04:45:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2012 04:45:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of seba.wagner@gmail.com designates 209.85.216.46 as permitted sender) Received: from [209.85.216.46] (HELO mail-qa0-f46.google.com) (209.85.216.46) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2012 04:45:42 +0000 Received: by mail-qa0-f46.google.com with SMTP id r4so351223qaq.12 for ; Thu, 13 Dec 2012 20:45:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ytxkGjgKT/84mF5u6MkkWKKl0i2LgYlCGdDDckXfyBo=; b=ydhAf87oyzfSi9UmmQMAw0WPdCOQVlN0HDc3trFkC0T/aBDMPzg6XuRXXq3HX3+DFV 9aOOp1c5f14fKEUJs+3ZQyBbnCr7ns2sQ/yJM6alJ68EdmE3w0qQMqicnsd6xA8F8Llu wmDRd5dpFDsyRxMGfCZ6LdbTRSMd99Buy5Oqpsuumq0xzN/kl4Q6HQKA+GE4wUdJndw2 5qZPoSu48ZvVYQlzQryTJfi4TJAQWGtGxuhXFs1uPmqZICDSQws3/cQXhEpp7KxRcflF ieZ/KW4F6RucRqNWqZV1HMZdBSrFxuiVHGdjl5gP5lRow6jreztTARGUpli5xkhmNCHb LNZQ== Received: by 10.229.196.166 with SMTP id eg38mr463018qcb.84.1355460321980; Thu, 13 Dec 2012 20:45:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.116.103 with HTTP; Thu, 13 Dec 2012 20:45:01 -0800 (PST) In-Reply-To: References: From: "seba.wagner@gmail.com" Date: Fri, 14 Dec 2012 14:45:01 +1000 Message-ID: Subject: Re: MySQL timeouts? To: users@openjpa.apache.org Content-Type: multipart/alternative; boundary=005045015e46ffb33504d0c8b2fd X-Virus-Checked: Checked by ClamAV on apache.org --005045015e46ffb33504d0c8b2fd Content-Type: text/plain; charset=ISO-8859-1 Yes that is what I meant Mikael. In the server on demo.openmeetings.de those config variables are exactly the same: mysql> SHOW GLOBAL VARIABLES LIKE "wait_timeout"; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | wait_timeout | 28800 | +---------------+-------+ 1 row in set (0.00 sec) mysql> SHOW VARIABLES LIKE "wait_timeout"; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | wait_timeout | 28800 | +---------------+-------+ 1 row in set (0.01 sec) mysql> Another reason might be that the host in general is not available. You could for example test this by doing a (nasty) small ping script that runs "demon-like". For example: nohup ping -c 100000000000000 web.de & it will write all ping results to a file called nohup.out. And you can check the output in real-time using: tail -f nohup.out with some more "shell kung-fu" I guess you could also add the date part in front of every ping result. Then you let run the script overnight. And tomorrow morning when you see in your openmeetings log file => there was a db connection lost, you see in the openmeetings log what time exactly the connection lost was And then you check the output of your ping protocol in the nohup.out if there was any host issue (especially around that date/time of course). Sebastian 2012/12/13 Mikael Kurula > 2880 -- Sebastian Wagner https://twitter.com/#!/dead_lock http://www.webbase-design.de http://www.wagner-sebastian.com seba.wagner@gmail.com --005045015e46ffb33504d0c8b2fd--