Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 12196200C06 for ; Thu, 12 Jan 2017 22:27:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1108D160B29; Thu, 12 Jan 2017 21:27:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5C6DD160B40 for ; Thu, 12 Jan 2017 22:27:05 +0100 (CET) Received: (qmail 70363 invoked by uid 500); 12 Jan 2017 21:27:04 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 70219 invoked by uid 99); 12 Jan 2017 21:27:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2017 21:27:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 345E6C0443 for ; Thu, 12 Jan 2017 21:27:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.694 X-Spam-Level: * X-Spam-Status: No, score=1.694 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 1ZN6ZHmkD1rW for ; Thu, 12 Jan 2017 21:27:02 +0000 (UTC) Received: from mail-yw0-f181.google.com (mail-yw0-f181.google.com [209.85.161.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id CDA965FAC3 for ; Thu, 12 Jan 2017 21:27:01 +0000 (UTC) Received: by mail-yw0-f181.google.com with SMTP id l75so20211847ywb.0 for ; Thu, 12 Jan 2017 13:27:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=w8uYX3/I8nFi4xzRnf9wnRHjhBki1hdIea+WZDiKTl0=; b=kQadu2/hb68xvYJJ+Vr6Bkdyocmz0zEdVf1NF0fpbKhhx3VjZ3K0w8adEAh05/PMzW GDgiyB/O2aiQkTkA6pbqkkeO62QU1li/6mClEFtcOxEgIC1BGLclpmXZhpt4aX4Vg6iU tG9RhZ6Z/HZKFsA43MoBZlLoYDkPV0eoIwp+Vo047akDzKrXfLA5Jk0f4gFPwk8/o6Jx d6eiRxfFUXkSBGiz/e4w9RYT/h0URK311slNjVbteLUYHUXW0JLPqdcB5CD+5xcSELXC 5jC97aYeqxNoBvqnBFiEOGZWaKFyuJkmM6bsyW3s8KnN6fWux95utP+dVQiklhmVfB0k lZbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=w8uYX3/I8nFi4xzRnf9wnRHjhBki1hdIea+WZDiKTl0=; b=KEl4Mxe/isXuZUU+WgkBS4jiLcFmDp3ljQrUX/Q+Mlvubm7wuNeYbWUUqJSqfU3+YW AmRReLjv92HlUQoEp17wNuAVRYQbUN2AaAn/Bj6fLn0yzDe7BI8rvW9yBvfuYZwHuISl aty3MDRw7e0NWlZOrBDs3qhIV8RdXOWkHKBqrmqaFoSbwcoFJYYBtmjdl1ELnFmRECuC El1z1SS1cmjlGFP4YNgf8lsNaqIiR5VB/JPCT1fuxidrJnxnPNXYepVmxrTKXp4XuVyH xPX/Gsw2kaj1qteIpffYLqfMrQWJhQR1kn4Sgb2DVODoKXizRQVXDSNC8UvzR9oHnczl 8k0Q== X-Gm-Message-State: AIkVDXLUPE2S/4ynB2pd0DNpGhmBb1HAQxCrfYIsCfpwcnwoaz1xCpaE1w9s5BBlidbBo3lm4m5rXj9R+veA7w== X-Received: by 10.13.204.23 with SMTP id o23mr12381597ywd.47.1484256420581; Thu, 12 Jan 2017 13:27:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.103.7 with HTTP; Thu, 12 Jan 2017 13:27:00 -0800 (PST) In-Reply-To: <1484239503211-4721033.post@n4.nabble.com> References: <1b1a9e43.223a6.13f56516533.Coremail.jswqne@163.com> <1484239503211-4721033.post@n4.nabble.com> From: Clebert Suconic Date: Thu, 12 Jan 2017 16:27:00 -0500 Message-ID: Subject: Re: Fatal Error: java.io.SyncFailedException: sync failed To: users@activemq.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Thu, 12 Jan 2017 21:27:06 -0000 There's probably a race condition somewhere. Something closing the File before the sync is done... Did you stop the server at the time it happened? For instance, the following test will throw the same exception: public class FileTest { @Test public void test() throws Exception { File file = new File("./target/deleteme.bin"); file.delete(); FileOutputStream out = new FileOutputStream(file); out.write(new byte[] {0, 1, 2, 3}); out.close(); out.getFD().sync(); } } On Thu, Jan 12, 2017 at 11:45 AM, AkashRajkumar wrote: > Hi , > > Can you please confirm how can we investigate further to find out if the > issue is with hardware/OS/Network ? what sort of information/evidence needs > to be gathered to prove this as an issue due to hardware/OS/Network ?? > > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/Fatal-Error-java-io-SyncFailedException-sync-failed-tp4668295p4721033.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Clebert Suconic