[jira] [Commented] (SYNCOPE-951) Tomcat exits when executing pull task continously

2016-09-28 Thread JIRA

[ 
https://issues.apache.org/jira/browse/SYNCOPE-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15529762#comment-15529762
 ] 

Francesco Chicchiriccò commented on SYNCOPE-951:


{quote}
Pull task result is very inconsistent. PFA snapshot of the result 
(Inconsitent-Pull-Capture.PNG)
{quote}

You should go and look at the various logs to see what is happening: I suspect 
that connector and resource configurations might need to be tuned up (and 
possibly solve your memory issues as well).

> Tomcat exits when executing pull task continously
> -
>
> Key: SYNCOPE-951
> URL: https://issues.apache.org/jira/browse/SYNCOPE-951
> Project: Syncope
>  Issue Type: Bug
>  Components: deb
>Affects Versions: 2.0.0.M5
> Environment: Ubuntu 16.05
>Reporter: Vellingiri Mani
> Fix For: 2.0.1
>
> Attachments: Inconsitent-Pull-Capture.PNG, catalina.out, 
> core-connid.log, core.log, localhost_access_log.2016-09-28.txt, 
> replay_pid4490.log, test.csv
>
>
> Hi,
> I am able to create users in syncope from csv file.
> For csv-resource, I created pull task to execute every 5mins. 
> After a few successful pull tasks, tomcat exits.
> PFA core-connid.log, core.log and tomcat logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SYNCOPE-951) Tomcat exits when executing pull task continously

2016-09-28 Thread Vellingiri Mani (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15529757#comment-15529757
 ] 

Vellingiri Mani commented on SYNCOPE-951:
-

Thanks Francesco !
Tomcat works with  -Xms1536m -Xmx1536m.

I tried below combinations but it fails
-Xms1536m -Xmx1836m.
-Xms1836m -Xmx1836m.
-Xms2048m -Xmx2048m.
-Xms2536m -Xmx2536m.

I understand your point that CSV is meant for bulk import. But if we want to do 
bulk import very often ?

Pull task result is very inconsistent. PFA snapshot of the result.


> Tomcat exits when executing pull task continously
> -
>
> Key: SYNCOPE-951
> URL: https://issues.apache.org/jira/browse/SYNCOPE-951
> Project: Syncope
>  Issue Type: Bug
>  Components: deb
>Affects Versions: 2.0.0.M5
> Environment: Ubuntu 16.05
>Reporter: Vellingiri Mani
> Fix For: 2.0.1
>
> Attachments: catalina.out, core-connid.log, core.log, 
> localhost_access_log.2016-09-28.txt, replay_pid4490.log, test.csv
>
>
> Hi,
> I am able to create users in syncope from csv file.
> For csv-resource, I created pull task to execute every 5mins. 
> After a few successful pull tasks, tomcat exits.
> PFA core-connid.log, core.log and tomcat logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (SYNCOPE-951) Tomcat exits when executing pull task continously

2016-09-28 Thread Vellingiri Mani (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15529757#comment-15529757
 ] 

Vellingiri Mani edited comment on SYNCOPE-951 at 9/28/16 2:14 PM:
--

Thanks Francesco !
Tomcat works with  -Xms1536m -Xmx1536m.

I tried below combinations but it fails
-Xms1536m -Xmx1836m.
-Xms1836m -Xmx1836m.
-Xms2048m -Xmx2048m.
-Xms2536m -Xmx2536m.

I understand your point that CSV is meant for bulk import. But if we want to do 
bulk import very often ?

Pull task result is very inconsistent. PFA snapshot of the result 
(Inconsitent-Pull-Capture.PNG)



was (Author: vellingiri):
Thanks Francesco !
Tomcat works with  -Xms1536m -Xmx1536m.

I tried below combinations but it fails
-Xms1536m -Xmx1836m.
-Xms1836m -Xmx1836m.
-Xms2048m -Xmx2048m.
-Xms2536m -Xmx2536m.

I understand your point that CSV is meant for bulk import. But if we want to do 
bulk import very often ?

Pull task result is very inconsistent. PFA snapshot of the result.


> Tomcat exits when executing pull task continously
> -
>
> Key: SYNCOPE-951
> URL: https://issues.apache.org/jira/browse/SYNCOPE-951
> Project: Syncope
>  Issue Type: Bug
>  Components: deb
>Affects Versions: 2.0.0.M5
> Environment: Ubuntu 16.05
>Reporter: Vellingiri Mani
> Fix For: 2.0.1
>
> Attachments: Inconsitent-Pull-Capture.PNG, catalina.out, 
> core-connid.log, core.log, localhost_access_log.2016-09-28.txt, 
> replay_pid4490.log, test.csv
>
>
> Hi,
> I am able to create users in syncope from csv file.
> For csv-resource, I created pull task to execute every 5mins. 
> After a few successful pull tasks, tomcat exits.
> PFA core-connid.log, core.log and tomcat logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SYNCOPE-951) Tomcat exits when executing pull task continously

2016-09-28 Thread Vellingiri Mani (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vellingiri Mani updated SYNCOPE-951:

Attachment: Inconsitent-Pull-Capture.PNG

> Tomcat exits when executing pull task continously
> -
>
> Key: SYNCOPE-951
> URL: https://issues.apache.org/jira/browse/SYNCOPE-951
> Project: Syncope
>  Issue Type: Bug
>  Components: deb
>Affects Versions: 2.0.0.M5
> Environment: Ubuntu 16.05
>Reporter: Vellingiri Mani
> Fix For: 2.0.1
>
> Attachments: Inconsitent-Pull-Capture.PNG, catalina.out, 
> core-connid.log, core.log, localhost_access_log.2016-09-28.txt, 
> replay_pid4490.log, test.csv
>
>
> Hi,
> I am able to create users in syncope from csv file.
> For csv-resource, I created pull task to execute every 5mins. 
> After a few successful pull tasks, tomcat exits.
> PFA core-connid.log, core.log and tomcat logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Issue Comment Deleted] (SYNCOPE-951) Tomcat exits when executing pull task continously

2016-09-28 Thread Vellingiri Mani (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vellingiri Mani updated SYNCOPE-951:

Comment: was deleted

(was: 
"/etc/default/tomcat8"

JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m 
-Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m 
-XX:MaxPermSize=256m -XX:+DisableExplicitGC"


Hosting PC RAM is 4GB

root@ontteam-HP-Compaq-Elite-8300-CMT:/var/lib/tomcat8# vmstat -s
  4010352 K total memory
  2189680 K used memory
  2866324 K active memory
   765676 K inactive memory
   223100 K free memory
   163244 K buffer memory
  1434328 K swap cache
  4063228 K total swap
   221432 K used swap
  3841796 K free swap
 12122803 non-nice user cpu ticks
 9156 nice user cpu ticks
  1802778 system cpu ticks
467064191 idle cpu ticks
  1966246 IO-wait cpu ticks
0 IRQ cpu ticks
   181034 softirq cpu ticks
0 stolen cpu ticks
 66886873 pages paged in
172661176 pages paged out
  1573885 pages swapped in
  3047176 pages swapped out
   1000612118 interrupts
   2570299873 CPU context switches
   1473851754 boot time
   425268 forks
)

> Tomcat exits when executing pull task continously
> -
>
> Key: SYNCOPE-951
> URL: https://issues.apache.org/jira/browse/SYNCOPE-951
> Project: Syncope
>  Issue Type: Bug
>  Components: deb
>Affects Versions: 2.0.0.M5
> Environment: Ubuntu 16.05
>Reporter: Vellingiri Mani
> Fix For: 2.0.1
>
> Attachments: catalina.out, core-connid.log, core.log, 
> localhost_access_log.2016-09-28.txt, replay_pid4490.log, test.csv
>
>
> Hi,
> I am able to create users in syncope from csv file.
> For csv-resource, I created pull task to execute every 5mins. 
> After a few successful pull tasks, tomcat exits.
> PFA core-connid.log, core.log and tomcat logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SYNCOPE-951) Tomcat exits when executing pull task continously

2016-09-28 Thread Vellingiri Mani (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15529367#comment-15529367
 ] 

Vellingiri Mani commented on SYNCOPE-951:
-


"/etc/default/tomcat8"

JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m 
-Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m 
-XX:MaxPermSize=256m -XX:+DisableExplicitGC"


Hosting PC RAM is 4GB

root@ontteam-HP-Compaq-Elite-8300-CMT:/var/lib/tomcat8# vmstat -s
  4010352 K total memory
  2189680 K used memory
  2866324 K active memory
   765676 K inactive memory
   223100 K free memory
   163244 K buffer memory
  1434328 K swap cache
  4063228 K total swap
   221432 K used swap
  3841796 K free swap
 12122803 non-nice user cpu ticks
 9156 nice user cpu ticks
  1802778 system cpu ticks
467064191 idle cpu ticks
  1966246 IO-wait cpu ticks
0 IRQ cpu ticks
   181034 softirq cpu ticks
0 stolen cpu ticks
 66886873 pages paged in
172661176 pages paged out
  1573885 pages swapped in
  3047176 pages swapped out
   1000612118 interrupts
   2570299873 CPU context switches
   1473851754 boot time
   425268 forks


> Tomcat exits when executing pull task continously
> -
>
> Key: SYNCOPE-951
> URL: https://issues.apache.org/jira/browse/SYNCOPE-951
> Project: Syncope
>  Issue Type: Bug
>  Components: deb
>Affects Versions: 2.0.0.M5
> Environment: Ubuntu 16.05
>Reporter: Vellingiri Mani
> Fix For: 2.0.1
>
> Attachments: catalina.out, core-connid.log, core.log, 
> localhost_access_log.2016-09-28.txt, replay_pid4490.log, test.csv
>
>
> Hi,
> I am able to create users in syncope from csv file.
> For csv-resource, I created pull task to execute every 5mins. 
> After a few successful pull tasks, tomcat exits.
> PFA core-connid.log, core.log and tomcat logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SYNCOPE-951) Tomcat exits when executing pull task continously

2016-09-28 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò updated SYNCOPE-951:
---
Fix Version/s: 2.0.1

> Tomcat exits when executing pull task continously
> -
>
> Key: SYNCOPE-951
> URL: https://issues.apache.org/jira/browse/SYNCOPE-951
> Project: Syncope
>  Issue Type: Bug
>  Components: deb
>Affects Versions: 2.0.0.M5
> Environment: Ubuntu 16.05
>Reporter: Vellingiri Mani
> Fix For: 2.0.1
>
> Attachments: catalina.out, core-connid.log, core.log, 
> localhost_access_log.2016-09-28.txt, replay_pid4490.log, test.csv
>
>
> Hi,
> I am able to create users in syncope from csv file.
> For csv-resource, I created pull task to execute every 5mins. 
> After a few successful pull tasks, tomcat exits.
> PFA core-connid.log, core.log and tomcat logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SYNCOPE-951) Tomcat exits when executing pull task continously

2016-09-28 Thread JIRA

[ 
https://issues.apache.org/jira/browse/SYNCOPE-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15529336#comment-15529336
 ] 

Francesco Chicchiriccò commented on SYNCOPE-951:


The reason why Tomcat dies is at the end of catalina.out:

{code}
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 1117040 bytes for 
Chunk::new
{code}

How much memory do you have allocated to the Tomcat process? And how much 
memory is allocated to the hosting VM?

> Tomcat exits when executing pull task continously
> -
>
> Key: SYNCOPE-951
> URL: https://issues.apache.org/jira/browse/SYNCOPE-951
> Project: Syncope
>  Issue Type: Bug
>  Components: deb
>Affects Versions: 2.0.0.M5
> Environment: Ubuntu 16.05
>Reporter: Vellingiri Mani
> Attachments: catalina.out, core-connid.log, core.log, 
> localhost_access_log.2016-09-28.txt, replay_pid4490.log, test.csv
>
>
> Hi,
> I am able to create users in syncope from csv file.
> For csv-resource, I created pull task to execute every 5mins. 
> After a few successful pull tasks, tomcat exits.
> PFA core-connid.log, core.log and tomcat logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SYNCOPE-951) Tomcat exits when executing pull task continously

2016-09-28 Thread Vellingiri Mani (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vellingiri Mani updated SYNCOPE-951:

Attachment: core.log

> Tomcat exits when executing pull task continously
> -
>
> Key: SYNCOPE-951
> URL: https://issues.apache.org/jira/browse/SYNCOPE-951
> Project: Syncope
>  Issue Type: Bug
>  Components: deb
>Affects Versions: 2.0.0.M5
> Environment: Ubuntu 16.05
>Reporter: Vellingiri Mani
> Attachments: catalina.out, core-connid.log, core.log, 
> localhost_access_log.2016-09-28.txt, replay_pid4490.log, test.csv
>
>
> Hi,
> I am able to create users in syncope from csv file.
> For csv-resource, I created pull task to execute every 5mins. 
> After a few successful pull tasks, tomcat exits.
> PFA core-connid.log, core.log and tomcat logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SYNCOPE-951) Tomcat exits when executing pull task continously

2016-09-28 Thread Vellingiri Mani (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vellingiri Mani updated SYNCOPE-951:

Attachment: catalina.out
test.csv
replay_pid4490.log
localhost_access_log.2016-09-28.txt
core-connid.log

> Tomcat exits when executing pull task continously
> -
>
> Key: SYNCOPE-951
> URL: https://issues.apache.org/jira/browse/SYNCOPE-951
> Project: Syncope
>  Issue Type: Bug
>  Components: deb
>Affects Versions: 2.0.0.M5
> Environment: Ubuntu 16.05
>Reporter: Vellingiri Mani
> Attachments: catalina.out, core-connid.log, 
> localhost_access_log.2016-09-28.txt, replay_pid4490.log, test.csv
>
>
> Hi,
> I am able to create users in syncope from csv file.
> For csv-resource, I created pull task to execute every 5mins. 
> After a few successful pull tasks, tomcat exits.
> PFA core-connid.log, core.log and tomcat logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SYNCOPE-951) Tomcat exits when executing pull task continously

2016-09-28 Thread Vellingiri Mani (JIRA)
Vellingiri Mani created SYNCOPE-951:
---

 Summary: Tomcat exits when executing pull task continously
 Key: SYNCOPE-951
 URL: https://issues.apache.org/jira/browse/SYNCOPE-951
 Project: Syncope
  Issue Type: Bug
  Components: deb
Affects Versions: 2.0.0.M5
 Environment: Ubuntu 16.05
Reporter: Vellingiri Mani


Hi,

I am able to create users in syncope from csv file.
For csv-resource, I created pull task to execute every 5mins. 

After a few successful pull tasks, tomcat exits.

PFA core-connid.log, core.log and tomcat logs.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)