[
https://issues.apache.org/jira/browse/ISIS-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14365751#comment-14365751
]
Dan Haywood commented on ISIS-1097:
-----------------------------------
Here's a simple script we wrote to ping our test instance of our app (Estatio):
{code}
rm cookies.txt
pid=$$
#
# sign in
#
curl -e "http://testserver/wicket/signin" -c cookies.txt -D /tmp/curl.$pid.1
--data "id1_hf_0=&username=yyyyy&password=xxxxx&rememberMeRow%3ArememberMe=on"
http://testserver/wicket/signin?-1.IFormSubmitListener-signInPanel-signInForm
# Redirect after signin
curl -e http://ams-s-estatio01/wicket/signin -b cookies.txt -c cookies.txt
http://testserver/wicket/
# Home page
echo "######################################################################"
echo "#"
echo "# HOME PAGE"
echo "#"
echo "######################################################################"
curl -e http://testserver/wicket/signin -b cookies.txt -c cookies.txt
http://testserver/wicket/entity?2
# submit Fixed Assets > All Properties
curl -e http://testserver/wicket/entity?2 -H "Wicket-Ajax:true" -H
"Wicket-Ajax-BaseURL:entity?2" -H "Wicket-FocusedElementId:id5" -H
"X-Requested-With:XMLHttpRequest" -b cookies.txt -c cookies.txt
http://testserver/wicket/entity?2-1.IBehaviorListener.0-theme-header-primaryMenuBar-menuItems-0-topMenu-subMenuItems-2-content-menuLink
# render results
echo "######################################################################"
echo "#"
echo "# Fixed Assets > All Properties"
echo "#"
echo "######################################################################"
curl -e http://testserver/wicket/entity?2 -b cookies.txt
http://testserver/wicket/wicket/page?3
sleep 1
#
#
rm /tmp/curl.$pid.1
{code}
> Suspicion that Isis may be leaving DB connections open under certain
> circumstances, leading to instability
> ----------------------------------------------------------------------------------------------------------
>
> Key: ISIS-1097
> URL: https://issues.apache.org/jira/browse/ISIS-1097
> Project: Isis
> Issue Type: Bug
> Components: Core
> Affects Versions: core-1.8.0
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Fix For: 1.9.0
>
>
> Report from the field:
> Users reporting that the app was slow. We've seen some active sessions in
> Tomcat that didn't correspond to any user, but also 3 database connections on
> PostgreSQL that were "IN TRANSACTION" for a long time.
> Killing the Tomcat and database sessions the correct speed has been recovered
> ~~~~
> One monitoring option to consider (open source with commercial support) is
> hyperic,
> * http://sourceforge.net/projects/hyperic-hq/
> *
> https://my.vmware.com/web/vmware/details?downloadGroup=VRHQ_584_OSS&productId=378
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)