Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thead lake #239

Open
GoogleCodeExporter opened this issue Mar 4, 2016 · 0 comments
Open

thead lake #239

GoogleCodeExporter opened this issue Mar 4, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.out of memory
2. thread lake
3.

What is the expected output? What do you see instead?
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470063000 nid=0x1132 waiting on condition [0x00007f53f36f5000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470061800 nid=0x1131 waiting on condition [0x00007f53f37f6000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547005f800 nid=0x1130 waiting on condition [0x00007f53f38f7000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547005e000 nid=0x112f waiting on condition [0x00007f53f39f8000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547005c800 nid=0x112e waiting on condition [0x00007f53f3af9000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547005a800 nid=0x112d waiting on condition [0x00007f53f3bfa000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470059000 nid=0x112c waiting on condition [0x00007f53f3cfb000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470057800 nid=0x112b waiting on condition [0x00007f53f3dfc000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470056000 nid=0x112a waiting on condition [0x00007f53f3efd000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470054800 nid=0x1129 waiting on condition [0x00007f53f3ffe000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470053800 nid=0x1128 waiting on condition [0x00007f54d81bc000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470053000 nid=0x1127 waiting on condition [0x00007f54d82bd000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470052000 nid=0x1126 waiting on condition [0x00007f573599e000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547004f000 nid=0x1125 waiting on condition [0x00007f54d83be000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547004d800 nid=0x1124 waiting on condition [0x00007f54d84bf000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547004c000 nid=0x1123 waiting on condition [0x00007f54d85c0000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547004a000 nid=0x1122 waiting on condition [0x00007f54d86c1000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470048800 nid=0x1121 waiting on condition [0x00007f54d87c2000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470047000 nid=0x1120 waiting on condition [0x00007f54d88c3000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470045800 nid=0x111f waiting on condition [0x00007f54d89c4000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470044000 nid=0x111e waiting on condition [0x00007f54d8ac5000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470042800 nid=0x111d waiting on condition [0x00007f54d8bc6000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470040800 nid=0x111c waiting on condition [0x00007f54d8cc7000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547003f000 nid=0x111b waiting on condition [0x00007f54d8dc8000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547003d800 nid=0x111a waiting on condition [0x00007f54d8ec9000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547003c000 nid=0x1119 waiting on condition [0x00007f54d8fca000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547003a800 nid=0x1118 waiting on condition [0x00007f54d90cb000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470039000 nid=0x1117 waiting on condition [0x00007f54d91cc000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470037000 nid=0x1116 waiting on condition [0x00007f54d92cd000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470035800 nid=0x1115 waiting on condition [0x00007f54d93ce000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470034000 nid=0x1114 waiting on condition [0x00007f54d94cf000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f5470030000 nid=0x1113 waiting on condition [0x00007f54d95d0000]
"JavaPNS grouped notification thread in QUEUE mode" daemon prio=10 
tid=0x00007f547002e800 nid=0x1112 waiting on condition [0x00007f54d96d1000]


What version of the product are you using? On what operating system?
centos 6.5 jvm 1.7.65

Please provide any additional information below.



when i use advance push type,run one day will create many thread 
waiting,(2035).w
this is my code 

        PushNotificationManager pushManager = null;
        PushedNotifications notifications = null;
        try {
            pushManager = new PushNotificationManager();
            pushManager.initializeConnection(new AppleNotificationServerBasicImpl(key, password, true));
            /* Build a blank payload to customize */
            PushNotificationPayload payload = PushNotificationPayload.complex();
            /* Customize the payload */
            payload.addAlert(message);
            payload.addSound("default");
            /* Push your custom payload */
            notifications = pushManager.sendNotifications(payload, devices);
        } catch (Exception e) {
            Log.warn(e.getMessage(), e);
        } finally {
            try {
                if(notifications !=null)
                    notifications.clear();
            } catch (Exception e) {
                Log.warn(e.getMessage(), e);
            }
            try {
                if (pushManager != null) {
                    pushManager.stopConnection();
                }
            } catch (CommunicationException e) {
                Log.warn(e.getMessage(), e);
            } catch (KeystoreException e) {
                Log.warn(e.getMessage(), e);
            }

Original issue reported on code.google.com by [email protected] on 24 Apr 2015 at 7:58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant