---
title: "jps could not synchronize with target"
author: "dikar"
date: "2011-03-06T18:47:09Z"
tags: []
categories: ["编程语言"]
slug: "jps-could-not-synchronize-with-target"
draft: false
lastmod: "2011-03-06T18:47:09Z"
id: 943034
url: "https://dikar.iteye.com/blog/943034"
---

用jps看hadoop的启动进程，突然报这个错，后来查到2个sun的bug库里的说明

 

http://bugs.sun.com/bugdatabase/view\_bug.do?bug\_id=6602355

 

http://bugs.sun.com/bugdatabase/view\_bug.do;jsessionid=f3d4e72c0f3d61519aed6f056ce?bug\_id=6637230

 

```
If a debuggee is waiting for a connection, jps
                        fails with msg: Could not synchronize with target
```

用strace jps看到 

 

   futex(0xb7406bd8, FUTEX\_WAIT, 4176, NULL32433）

 

进程处于futex\_wait状态

好吧，连接了下debug端口解决。