
    Randall ADAMS, also known as Wild Man, Petitioner-Appellant, v. David G. JUSTICE, Warden of Federal Correctional Institute, Texarkana, Respondent-Appellee.
    No. 04-40803.
    Conference Calendar.
    United States Court of Appeals, Fifth Circuit.
    Decided Aug. 16, 2005.
    
      Randall Adams, Beaumont, TX, pro se.
    Paul E. Ñaman, Assistant U.S. Attorney, U.S. Attorney’s Office, Beaumont, TX, for Respondent-Appellee.
    Before BENAVIDES, CLEMENT, and PRADO, Circuit Judges.
   PER CURIAM:

Randall Adams, federal prisoner # 04632-043, is currently serving a 135-month sentence following his convictions for distributing cocaine and cocaine base. He appeals the dismissal, without prejudice, of his 28 U.S.C. § 2241 petition, which he filed to challenge the legality of his detention.

Adams argues that the district court applied an overly rigid standard to his pro se amended petition. Adams amended his petition in response to an order issued by the magistrate judge.

A district court may sua sponte dismiss an action for failure to prosecute or to comply with any court order. Fed. R.Civ.P. 41(b); McCullough v. Lynaugh, 835 F.2d 1126, 1127 (5th Cir.1988). Here, the record shows that the amended petition did not conform to the order issued by the magistrate judge. Specifically, Adams filed an excess of pages, failed to concisely state his grounds for relief, and failed to briefly summarize the facts supporting his grounds for relief.

Because Adams failed to comply with an order issued by the district court, the without-prejudice dismissal of his petition was not an abuse of discretion. See id.; McNeal v. Papasan, 842 F.2d 787, 789-90 (5th Cir.1988). Accordingly, the judgment of the district court is AFFIRMED. 
      
       Pursuant to 5th Cir R. 47.5, the court has determined that this opinion should not be published and is not precedent except under the limited circumstances set forth in 5th Cir. R. 47.5.4.
     