[ 
https://jira.jboss.org/jira/browse/RF-7927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12488913#action_12488913
 ] 

Thomas Frössman commented on RF-7927:
-------------------------------------

And here is some instance state from the pos= calculation breakpoint above.. 
I did an conditional breakpoint on every pos assigment when the value assigned 
to pos is <0

this    MultipartRequest  (id=11194)    
        boundaryMarker   (id=11195)     
                [0]     45      
                [1]     45      
                [2]     45      
                [3]     45      
                [4]     45      
                [5]     45      
                [6]     45      
                [7]     45      
                [8]     45      
                [9]     45      
                [10]    45      
                [11]    45      
                [12]    45      
                [13]    45      
                [14]    45      
                [15]    45      
                [16]    45      
                [17]    45      
                [18]    45      
                [19]    45      
                [20]    45      
                [21]    45      
                [22]    45      
                [23]    45      
                [24]    45      
                [25]    45      
                [26]    45      
                [27]    53      
                [28]    56      
                [29]    56      
                [30]    53      
                [31]    54      
                [32]    49      
                [33]    55      
                [34]    50      
                [35]    57      
                [36]    55      
                [37]    51      
                [38]    53      
                [39]    49      
                [40]    52      
                [41]    53      
                [42]    57      
                [43]    57      
                [44]    51      
                [45]    49      
                [46]    53      
                [47]    48      
                [48]    55      
                [49]    52      
                [50]    56      
                [51]    54      
                [52]    51      
                [53]    54      
                [54]    52      
        buffer   (id=11197)     
                [0...99]        
                [100...199]     
                [200...299]     
                [300...399]     
                [400...499]     
                [500...599]     
                [600...699]     
                [700...799]     
                [800...899]     
                [900...999]     
                [1000...1099]   
                [1100...1199]   
                [1200...1299]   
                [1300...1399]   
                [1400...1499]   
                [1500...1599]   
                [1600...1699]   
                [1700...1799]   
                [1800...1899]   
                [1900...1999]   
                [2000...2047]   
        bytesRead       37      
        canceled        false   
        canStop true    
        contentLength   Integer  (id=11198)     
                value   9116    
        createTempFiles true    
        encoding        "utf-8" (id=10948)      
                count   5       
                hash    111607186       
                offset  30      
                value    (id=11822)     
        initialized     true    
        input   CoyoteInputStream  (id=11208)   
                ib      InputBuffer  (id=11824) 
                        bb      ByteChunk  (id=11826)   
                        BYTE_STATE      2       
                        bytesRead       0       
                        cb      CharChunk  (id=11828)   
                        CHAR_STATE      1       
                        charsRead       0       
                        closed  false   
                        conv    null    
                        coyoteRequest   Request  (id=11829)     
                        enc     null    
                        encoders        HashMap<K,V>  (id=11830)        
                        gotEnc  false   
                        INITIAL_STATE   0       
                        inputChunk      ByteChunk  (id=11831)   
                        lock    InputBuffer  (id=11824) 
                        markPos -1      
                        size    8192    
                        skipBuffer      null    
                        state   2       
        keys    ArrayList<E>  (id=11209)        
                elementData     Object[10]  (id=11833)  
                modCount        0       
                size    0       
        parameters      HashMap<K,V>  (id=11210)        
                entrySet        null    
                keySet  null    
                loadFactor      0.75    
                modCount        0       
                size    0       
                table   HashMap$Entry<K,V>[16]  (id=11832)      
                threshold       12      
                values  null    
        percentMap      ConcurrentHashMap<K,V>  (id=10952)      
                entrySet        ConcurrentHashMap$EntrySet  (id=10979)  
                keySet  null    
                keySet  null    
                segmentMask     15      
                segments        ConcurrentHashMap$Segment<K,V>[16]  (id=10982)  
                segmentShift    28      
                values  null    
                values  null    
        pos     0       
        read    37      
        readState       MultipartRequest$ReadState  (id=10954)  
                name    "BOUNDARY" (id=11834)   
                ordinal 0       
        request RequestFacade  (id=11211)       
                request Request  (id=11835)     
                        attributes      HashMap<K,V>  (id=11836)        
                        authType        null    
                        comet   false   
                        connector       Connector  (id=11837)   
                        context StandardContext  (id=11838)     
                        cookies null    
                        cookiesParsed   false   
                        coyoteRequest   Request  (id=11829)     
                        dispatcherType  Integer  (id=11839)     
                        event   null    
                        facade  RequestFacade  (id=11211)       
                        filterChain     ApplicationFilterChain  (id=11199)      
                        formats SimpleDateFormat[3]  (id=11840) 
                        inputBuffer     InputBuffer  (id=11824) 
                        inputStream     CoyoteInputStream  (id=11208)   
                        localAddr       null    
                        locales ArrayList<E>  (id=11841)        
                        localesParsed   false   
                        localName       null    
                        localPort       -1      
                        mappingData     MappingData  (id=11842) 
                        notes   HashMap<K,V>  (id=11843)        
                        parameterMap    ParameterMap  (id=11844)        
                        parametersParsed        false   
                        parser  StringParser  (id=11845)        
                        postData         (id=11846)     
                        reader  CoyoteReader  (id=11847)        
                        readOnlyAttributes      HashMap<K,V>  (id=11848)        
                        remoteAddr      null    
                        remoteHost      null    
                        remotePort      -1      
                        requestDispatcherPath   MessageBytes  (id=11849)        
                        requestedSessionCookie  true    
                        requestedSessionId      
"C24458611F919A2DDF3BDCB54B448E31.app1" (id=11850)      
                        requestedSessionURL     false   
                        response        Response  (id=11851)    
                        secure  false   
                        session StandardSession  (id=11852)     
                        sessionParsed   false   
                        subject null    
                        URIConverter    null    
                        userPrincipal   null    
                        usingInputStream        true    
                        usingReader     false   
                        wrapper StandardWrapper  (id=11853)     
        requestKey      "80b62213-a4d0-464b-8fa6-89cede99dafc:9" (id=11212)     
        requestKeysMap  ConcurrentHashMap<K,V>  (id=10957)      
        requestRegistry MultipartRequestRegistry  (id=10958)    
                atomicInteger   AtomicInteger  (id=11856)       
                registryId      "80b62213-a4d0-464b-8fa6-89cede99dafc" 
(id=11857)       
                requestsMap     ConcurrentHashMap<K,V>  (id=11858)      
                        entrySet        null    
                        keySet  null    
                        keySet  null    
                        segmentMask     15      
                        segments        ConcurrentHashMap$Segment<K,V>[16]  
(id=11859)  
                        segmentShift    28      
                        values  null    
                        values  null    
        requestSizeMap  ConcurrentHashMap<K,V>  (id=10959)      
                entrySet        null    
                keySet  null    
                keySet  null    
                segmentMask     15      
                segments        ConcurrentHashMap$Segment<K,V>[16]  (id=11855)  
                segmentShift    28      
                values  null    
                values  null    
        shouldStop      false   
        uid     "0.21748280889207616" (id=11804)        
                count   19      
                hash    1411935663      
                offset  22      
                value    (id=11854)     
        zeroReadAttempts        20

> rich:filupload some request blocked ad viternam set the cpu to 99.9%
> --------------------------------------------------------------------
>
>                 Key: RF-7927
>                 URL: https://jira.jboss.org/jira/browse/RF-7927
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.1, 3.3.2.CR1
>         Environment: JBOSS 4.2.2 / richfaces 3.3.1 or  3.3.2 CR1
>            Reporter: Adrien
>            Assignee: Alexander Smirnov
>            Priority: Blocker
>         Attachments: ano_richfaces_upload.png, CreateCVPhoto.java, 
> CtrlAlbumPhotosUploadBean.java, faces-config.xml, uploadPhotos.xhtml, 
> WEB-console-jbossweb.jpeg, WEB-console-webstatus.jpeg, web_production.xml
>
>
> Hi,
> Since some month, i have some time something with set the cpu at 99.9% and 
> the cpu stay at 99.9% ad viternam.
> The problem is 'rare' only 8 or 6 times(but when it occurs the cpu stay at 
> 99.9%), and actually I've not reproduce the problem, but I'm search and  
> trying .
> I suspect fileupload, with the web-console/websatus/FullStatus  I've detected 
> the problem come from some request wich stay blocqued ad viternam and all 
> these request use fileupload.
> Here a copy a the 2 requests (see also the jpeg ) : 
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> S     2297197684 ms   0 KB    0 KB    90.41.114.64    www.lorizon.com POST 
> /pages/m/managephoto.jsf?_richfaces_upload_uid=0.33606938123632846&svupphotos:falbumphotos:upload=svupphotos:falbumphotos:upload&_richfaces_upload_file_indicator=true&AJAXREQUEST=_viewRoot
>  HTTP/1.1
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> S     2297003329 ms   0 KB    0 KB    90.41.114.64    www.lorizon.com POST 
> /pages/m/managephoto.jsf?_richfaces_upload_uid=0.6245843087409002&svupphotos:falbumphotos:upload=svupphotos:falbumphotos:upload&_richfaces_upload_file_indicator=true&AJAXREQUEST=_viewRoot
>  HTTP/1.1
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> I've put some source attachement  of my project and screenshot of the 
> web-console.
> -If the image downloaded, erase an old image on the disk wich is read why 
> another request at the same time => Ok, this is not a problem an exception is 
> thrown by java
> -------------------------------------------------------------------------------------------------------------------------
> --->There is a way with the web-console to stop manually thes request? 
> Instead of restart all.
> -------------------------------------------------------------------------------------------------------------------------
> For richefaces Album Demo : they never had a problem like that?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to